diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-07-15 23:50:30 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-07-15 23:50:30 +0300 |
commit | 75c84e3b5dbe8ef932376b57a8a98a35e01570c8 (patch) | |
tree | ff364b9fccf061c90c7f2a0e56dd5b980ee4a678 | |
parent | 74a4926e83771cac21b6673f60f76ba6a634a242 (diff) | |
download | wekan-75c84e3b5dbe8ef932376b57a8a98a35e01570c8.tar.gz wekan-75c84e3b5dbe8ef932376b57a8a98a35e01570c8.tar.bz2 wekan-75c84e3b5dbe8ef932376b57a8a98a35e01570c8.zip |
[Fix id to _id](https://github.com/wekan/wekan/commit/2cedbcb9b334cd497874736bbb740a1d5c5acb6c#r34310594).
Thanks to justinr1234 and xet7 !
Related #802
-rw-r--r-- | models/org.js | 2 | ||||
-rw-r--r-- | models/orgUser.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/models/org.js b/models/org.js index 207bfad7..ce6f377e 100644 --- a/models/org.js +++ b/models/org.js @@ -5,7 +5,7 @@ Org = new Mongo.Collection('org'); */ Org.attachSchema( new SimpleSchema({ - id: { + _id: { /** * the organization id */ diff --git a/models/orgUser.js b/models/orgUser.js index 4c699f28..b671cb41 100644 --- a/models/orgUser.js +++ b/models/orgUser.js @@ -5,7 +5,7 @@ OrgUser = new Mongo.Collection('orgUser'); */ OrgUser.attachSchema( new SimpleSchema({ - id: { + _id: { /** * the organization user's id */ |