summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/org.js2
-rw-r--r--models/orgUser.js2
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
*/