mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 08:16:09 +08:00
[client-sync] Fix syncWorker arg
Summary: It needs to be wrapped in an object. Test Plan: manual Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D4367
This commit is contained in:
parent
fc7856b4d0
commit
d9a9d66f5f
|
@ -30,7 +30,7 @@ class FetchNewMessagesInFolderIMAP extends FetchMessagesInFolderIMAP {
|
|||
// Can't use `super` in this scenario because babel can't compile it under
|
||||
// these conditions. User regular prototype instead
|
||||
this._logger.log(`🔚 📂 🆕 ${this._folder.name} has no fetchedmax - running regular fetch operation`)
|
||||
yield FetchMessagesInFolderIMAP.prototype.runTask.call(this, db, imap, syncWorker)
|
||||
yield FetchMessagesInFolderIMAP.prototype.runTask.call(this, db, imap, {syncWorker})
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue