Should pass tests now
This commit is contained in:
@@ -610,7 +610,7 @@ RestWrite.prototype.handleInstallation = function() {
|
|||||||
|
|
||||||
// Check if we already have installations for the installationId/deviceToken
|
// Check if we already have installations for the installationId/deviceToken
|
||||||
promise = promise.then(() => {
|
promise = promise.then(() => {
|
||||||
if (!idMatch && this.data.installationId) {
|
if (this.data.installationId) {
|
||||||
return this.config.database.find('_Installation', {
|
return this.config.database.find('_Installation', {
|
||||||
'installationId': this.data.installationId
|
'installationId': this.data.installationId
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user