Skip to content

Commit

Permalink
Don't update timestamp at creating a remote file
Browse files Browse the repository at this point in the history
  • Loading branch information
iorate committed Nov 13, 2018
1 parent 74873b2 commit fba3303
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ class SyncService {
await this.uploadFile(fileInfo, localBlacklist, localTimestamp);
}
} else {
if (!new Date(localTimestamp).getTime()) {
localTimestamp = new Date().toISOString();
await setLocalStorage({ timestamp: localTimestamp });
}
fileInfo = await this.createFile();
await this.uploadFile(fileInfo, localBlacklist, localTimestamp);
}
Expand Down

0 comments on commit fba3303

Please sign in to comment.