diff --git a/lib/storage.js b/lib/storage.js index 964e2b6..2cb08f2 100644 --- a/lib/storage.js +++ b/lib/storage.js @@ -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, }); };