Skip to content

Commit

Permalink
Fix cloud data sync issue with Upstash (ChatGPTNextWeb#4563)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooben-me authored and aidenlu committed May 15, 2024
1 parent 312d183 commit ea43f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/store/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const useSyncStore = createPersistStore(
}

await client.set(config.username, JSON.stringify(localState));

this.markSyncTime();
},

Expand Down Expand Up @@ -146,4 +147,4 @@ export const useSyncStore = createPersistStore(
return newState as any;
},
},
);
);

0 comments on commit ea43f64

Please sign in to comment.