summaryrefslogtreecommitdiffstats
path: root/models/org.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-15 23:50:30 +0300
committerLauri Ojansivu <x@xet7.org>2019-07-15 23:50:30 +0300
commit75c84e3b5dbe8ef932376b57a8a98a35e01570c8 (patch)
treeff364b9fccf061c90c7f2a0e56dd5b980ee4a678 /models/org.js
parent74a4926e83771cac21b6673f60f76ba6a634a242 (diff)
downloadwekan-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
Diffstat (limited to 'models/org.js')
-rw-r--r--models/org.js2
1 files changed, 1 insertions, 1 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
*/