From c9d4f7693db511245690e123f19db82f3003dbd7 Mon Sep 17 00:00:00 2001 From: stephentuso Date: Fri, 26 Feb 2016 19:42:47 -0500 Subject: [PATCH] Should pass tests now --- src/RestWrite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RestWrite.js b/src/RestWrite.js index 344d5959..e47773db 100644 --- a/src/RestWrite.js +++ b/src/RestWrite.js @@ -610,7 +610,7 @@ RestWrite.prototype.handleInstallation = function() { // Check if we already have installations for the installationId/deviceToken promise = promise.then(() => { - if (!idMatch && this.data.installationId) { + if (this.data.installationId) { return this.config.database.find('_Installation', { 'installationId': this.data.installationId });