From 75c84e3b5dbe8ef932376b57a8a98a35e01570c8 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 15 Jul 2019 23:50:30 +0300 Subject: [Fix id to _id](https://github.com/wekan/wekan/commit/2cedbcb9b334cd497874736bbb740a1d5c5acb6c#r34310594). Thanks to justinr1234 and xet7 ! Related #802 --- models/org.js | 2 +- models/orgUser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'models') 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 */ -- cgit v1.2.3-1-g7c22