Browse Source

Update packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
pull/9661/head
Pranav C 1 month ago committed by GitHub
parent
commit
2f3d542bb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nocodb/src/version-upgrader/upgraders/0225002_ncDatasourceDecrypt.ts

2
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'); logger.log('Starting decryption of sources and integrations');
let encryptionKey = process.env.NC_AUTH_JWT_SECRET; let encryptionKey = process.env.NC_AUTH_JWT_SECRET;
let fallbackEncryptionKey: string = null; let fallbackEncryptionKey: string | null = null;
const encryptionKeyFromMeta = ( const encryptionKeyFromMeta = (
await ncMeta.metaGet(RootScopes.ROOT, RootScopes.ROOT, MetaTable.STORE, { await ncMeta.metaGet(RootScopes.ROOT, RootScopes.ROOT, MetaTable.STORE, {

Loading…
Cancel
Save