From fdef85f1fcd1c779f08066fd62cc24c53d8bba7a Mon Sep 17 00:00:00 2001 From: Prakhar Agarwal Date: Sat, 15 Jun 2024 20:16:20 +0530 Subject: [PATCH] fix: current token should be present in all tokens when migrating from schema 6 to 7 Signed-off-by: Prakhar Agarwal --- app/store/persistent-state/state-migrations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/persistent-state/state-migrations.ts b/app/store/persistent-state/state-migrations.ts index ffc16efff3..a40df47683 100644 --- a/app/store/persistent-state/state-migrations.ts +++ b/app/store/persistent-state/state-migrations.ts @@ -44,7 +44,7 @@ const migrate6ToCurrent = (state: PersistentState_6): Promise = return migrate7ToCurrent({ ...state, schemaVersion: 7, - galoyAllAuthTokens: [], + galoyAllAuthTokens: [state.galoyAuthToken], }) }