mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
debug:mergeAppState list key
This commit is contained in:
@@ -96,7 +96,7 @@ export const useSyncStore = createPersistStore(
|
||||
const config = get()[provider];
|
||||
const client = this.getClient();
|
||||
|
||||
await client.set(config.username, JSON.stringify(localState));
|
||||
|
||||
|
||||
try {
|
||||
const remoteState = await client.get(config.username);
|
||||
@@ -116,6 +116,8 @@ export const useSyncStore = createPersistStore(
|
||||
throw e;
|
||||
}
|
||||
|
||||
await client.set(config.username, JSON.stringify(localState));
|
||||
|
||||
|
||||
|
||||
this.markSyncTime();
|
||||
|
||||
Reference in New Issue
Block a user