diff --git a/app/store/sync.ts b/app/store/sync.ts index 77ddb309c..10f42ec3a 100644 --- a/app/store/sync.ts +++ b/app/store/sync.ts @@ -109,7 +109,7 @@ export const useSyncStore = createPersistStore( return; } else { let parsedRemoteState = JSON.parse(await client.get(config.username)); - parsedRemoteState["access-control"] = accessStore; + parsedRemoteState[StoreKey.Access] = accessStore; //console.log("parsedRemoteState------", parsedRemoteState); mergeAppState(localState, parsedRemoteState);