diff --git a/models/org.js b/models/org.js index 207bfad7b..ce6f377eb 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 4c699f289..b671cb41a 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 */