Explorar el Código

[Fix id to _id](https://github.com/wekan/wekan/commit/2cedbcb9b334cd497874736bbb740a1d5c5acb6c#r34310594).

Thanks to justinr1234 and xet7 !

Related #802
Lauri Ojansivu hace 6 años
padre
commit
75c84e3b5d
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      models/org.js
  2. 1 1
      models/orgUser.js

+ 1 - 1
models/org.js

@@ -5,7 +5,7 @@ Org = new Mongo.Collection('org');
  */
 Org.attachSchema(
   new SimpleSchema({
-    id: {
+    _id: {
       /**
        * the organization id
        */

+ 1 - 1
models/orgUser.js

@@ -5,7 +5,7 @@ OrgUser = new Mongo.Collection('orgUser');
  */
 OrgUser.attachSchema(
   new SimpleSchema({
-    id: {
+    _id: {
       /**
        * the organization user's id
        */