Skip to content

Commit 96609e3

Browse files
committed
Merge pull request #178 from maysale01/hotfix-pass-the-correct-scope-to-rest-write-handle-followup
hotfix: issue exposed during testing with es6 where the scope o…
2 parents a78adfe + 5d05c74 commit 96609e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RestWrite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ RestWrite.prototype.handleFollowup = function() {
362362
};
363363
delete this.storage['clearSessions'];
364364
return this.config.database.destroy('_Session', sessionQuery)
365-
.then(this.handleFollowup);
365+
.then(this.handleFollowup.bind(this));
366366
}
367367
};
368368

0 commit comments

Comments
 (0)