Skip to content

Commit

Permalink
Fix bug that duplicates auto sync cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgomesxyz committed May 26, 2021
1 parent 771f2a5 commit 95799e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/streaming-services/common/AutoSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class _AutoSync {
try {
const api = getApi(serviceId);
const store = getSyncStore(serviceId);
store.resetData();

await api.loadHistory(Infinity, serviceValue.lastSync, serviceValue.lastSyncId);

Expand Down

0 comments on commit 95799e0

Please sign in to comment.