1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 15:16:18 +00:00

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

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);