From 9d94459c5d5fa6fe4884c9e386c72d5cea3e1f56 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 12 Dec 2023 15:48:09 +0000 Subject: [PATCH] Syncer: fix object reference We should be passing the syncer object, not the task object --- core/modules/syncer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/syncer.js b/core/modules/syncer.js index 9769d9674..f7627e1ac 100644 --- a/core/modules/syncer.js +++ b/core/modules/syncer.js @@ -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);