We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aaf9ac commit abb7e48Copy full SHA for abb7e48
package/server/imports/utilities/collection/index.js
@@ -14,7 +14,7 @@ const initializeCollection = function () {
14
}
15
16
17
- if (self.collection.createIndex) {
+ if (collection.createIndex) {
18
collection.createIndex({ due: 1, state: 1 });
19
} else {
20
collection._ensureIndex({ due: 1, state: 1 });
0 commit comments