mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 17:44:57 +08:00
Fix cloud data sync issue with Upstash (#4563)
This commit is contained in:
@@ -115,6 +115,7 @@ export const useSyncStore = createPersistStore(
|
||||
}
|
||||
|
||||
await client.set(config.username, JSON.stringify(localState));
|
||||
|
||||
this.markSyncTime();
|
||||
},
|
||||
|
||||
@@ -146,4 +147,4 @@ export const useSyncStore = createPersistStore(
|
||||
return newState as any;
|
||||
},
|
||||
},
|
||||
);
|
||||
);
|
||||
|
Reference in New Issue
Block a user