Syncer: fix object reference

We should be passing the syncer object, not the task object
This commit is contained in:
Jeremy Ruston 2023-12-12 15:48:09 +00:00
parent 5c283f843b
commit 9d94459c5d
1 changed files with 1 additions and 1 deletions

View File

@ -635,7 +635,7 @@ SyncFromServerTask.prototype.run = function(callback) {
callback(null);
};
if(this.syncer.syncadaptor.getUpdatedTiddlers) {
this.syncer.syncadaptor.getUpdatedTiddlers(self,function(err,updates) {
this.syncer.syncadaptor.getUpdatedTiddlers(self.syncer,function(err,updates) {
if(err) {
self.syncer.displayError($tw.language.getString("Error/RetrievingSkinny"),err);
return callback(err);