Skip to content

Commit

Permalink
chore: send progress after each upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Jul 19, 2024
1 parent 0ed45db commit 80d7957
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/search-sync/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ async function syncAllCourses() {
await sendFile(module, fileUrl)
}).then(() => {
state.currentUploads += 1
sendSyncProgress()
console.log(`Uploaded files: ${state.currentUploads} / ${state.totalUploads}`)
}),
)
Expand Down

0 comments on commit 80d7957

Please # to comment.