From 194081b6fffc13f589692441a70e3f10603f05b9 Mon Sep 17 00:00:00 2001 From: penginn-net <121443048+penginn-net@users.noreply.github.com> Date: Sat, 21 Dec 2024 18:15:03 +0000 Subject: [PATCH] fix type(bool => string) --- packages/backend/src/server/api/endpoints/admin/meta.ts | 2 +- packages/cherrypick-js/src/autogen/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/admin/meta.ts b/packages/backend/src/server/api/endpoints/admin/meta.ts index 7a4955d3af..26868b6632 100644 --- a/packages/backend/src/server/api/endpoints/admin/meta.ts +++ b/packages/backend/src/server/api/endpoints/admin/meta.ts @@ -473,7 +473,7 @@ export const meta = { optional: false, nullable: true, }, libreTranslateApiKey: { - type: 'boolean', + type: 'string', optional: false, nullable: false, }, defaultDarkTheme: { diff --git a/packages/cherrypick-js/src/autogen/types.ts b/packages/cherrypick-js/src/autogen/types.ts index e34f94c7bc..40188fe527 100644 --- a/packages/cherrypick-js/src/autogen/types.ts +++ b/packages/cherrypick-js/src/autogen/types.ts @@ -5623,7 +5623,7 @@ export type operations = { deeplAuthKey: string | null; deeplIsPro: boolean; libreTranslateEndPoint: string | null; - libreTranslateApiKey: boolean; + libreTranslateApiKey: string; defaultDarkTheme: string | null; defaultLightTheme: string | null; description: string | null;