Should pass tests now

This commit is contained in:
stephentuso
2016-02-26 19:42:47 -05:00
parent 7ca8836768
commit c9d4f7693d

View File

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