From 7230cb29fb38edb3c714c36d6d12043097b41bd0 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 3 Jul 2024 09:58:23 +0200 Subject: [PATCH] [PM-9440] Fix: handle undefined value in migration 66 (#9908) * fix: handle undefined value in migration 66 * fix: the if-statement was typo (cherry picked from commit 83b8c0d50fba7e9768d442f9fedf98056ab8911d) --- .../migrations/66-move-final-desktop-settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/state-migrations/migrations/66-move-final-desktop-settings.ts b/libs/common/src/state-migrations/migrations/66-move-final-desktop-settings.ts index 67fbc6ec00c..726a8a060bf 100644 --- a/libs/common/src/state-migrations/migrations/66-move-final-desktop-settings.ts +++ b/libs/common/src/state-migrations/migrations/66-move-final-desktop-settings.ts @@ -46,7 +46,7 @@ export class MoveFinalDesktopSettingsMigrator extends Migrator<65, 66> { updatedGlobal = true; } - if (enableBrowserIntegrationValue != null) { + if (enableBrowserIntegrationFingerprintValue != null) { await helper.setToGlobal( BROWSER_INTEGRATION_FINGERPRINT_ENABLED, enableBrowserIntegrationFingerprintValue,