Skip to content

Commit abb7e48

Browse files
committed
Update index.js
1 parent 6aaf9ac commit abb7e48

File tree

1 file changed

+1
-1
lines changed
  • package/server/imports/utilities/collection

1 file changed

+1
-1
lines changed

package/server/imports/utilities/collection/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const initializeCollection = function () {
1414
}
1515

1616

17-
if (self.collection.createIndex) {
17+
if (collection.createIndex) {
1818
collection.createIndex({ due: 1, state: 1 });
1919
} else {
2020
collection._ensureIndex({ due: 1, state: 1 });

0 commit comments

Comments
 (0)