소스 검색

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

Thanks to justinr1234 and xet7 !

Related #802
Lauri Ojansivu 5 년 전
부모
커밋
75c84e3b5d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
        */