fix index definition

This commit is contained in:
Ivan Socolsky 2017-02-03 11:35:16 -03:00
parent c4f6290fda
commit fd7e26372c
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ Storage.prototype._createIndexes = function() {
walletId: 1,
txid: 1,
});
this.db.collection(collections.PUSH_NOTIFICATION_TOKENS).createIndex({
this.db.collection(collections.PUSH_NOTIFICATION_SUBS).createIndex({
copayerId: 1,
});
};