From 2f3d542bb587ad409f46b4812e74e734492b97bb Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 15 Oct 2024 21:16:59 +0530 Subject: [PATCH] Update packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- .../version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts b/packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts index bb53e2884d..0d69bfcfe1 100644 --- a/packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts +++ b/packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts @@ -63,7 +63,7 @@ export default async function ({ ncMeta }: NcUpgraderCtx) { logger.log('Starting decryption of sources and integrations'); let encryptionKey = process.env.NC_AUTH_JWT_SECRET; - let fallbackEncryptionKey: string = null; + let fallbackEncryptionKey: string | null = null; const encryptionKeyFromMeta = ( await ncMeta.metaGet(RootScopes.ROOT, RootScopes.ROOT, MetaTable.STORE, {