diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-08-28 21:16:32 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-08-28 21:16:32 +0300 |
commit | ba63627ebfc7a9e96fd9c47587de298eb107bc5e (patch) | |
tree | 1ab80e38b648aec0e5b0c94952fc69b9d15e9b0c /models | |
parent | da636ed17d788f68511d69364cad91c3a4d9c46f (diff) | |
download | wekan-ba63627ebfc7a9e96fd9c47587de298eb107bc5e.tar.gz wekan-ba63627ebfc7a9e96fd9c47587de298eb107bc5e.tar.bz2 wekan-ba63627ebfc7a9e96fd9c47587de298eb107bc5e.zip |
Fix typo.
Diffstat (limited to 'models')
-rw-r--r-- | models/cards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/cards.js b/models/cards.js index 4a73bbbc..11f08283 100644 --- a/models/cards.js +++ b/models/cards.js @@ -1022,7 +1022,7 @@ if (Meteor.isServer) { // When loading a board, mongodb is searching for every cards, the id of the parent (in the swinglanes collection). // With a huge database, this result in a very slow app and high CPU on the mongodb side. // To correct it, add Index to parentId: - Cards._collection._ensureIndex({"parentId": 1}); + Cards._collection._ensureIndex({parentId: 1}); }); Cards.after.insert((userId, doc) => { |