Browse Source

Merge pull request #3146 from GitGramm/patch-1

Added dates & assignees to REST API calls #3145
Lauri Ojansivu 5 years ago
parent
commit
2876ce633c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      models/cards.js

+ 10 - 0
models/cards.js

@@ -2168,6 +2168,11 @@ if (Meteor.isServer) {
             title: doc.title,
             title: doc.title,
             description: doc.description,
             description: doc.description,
             listId: doc.listId,
             listId: doc.listId,
+            receivedAt: doc.receivedAt,
+            startAt:doc.startAt,
+            dueAt: doc.dueAt,
+            endAt: doc.endAt,
+            assignees: doc.assignees,
           };
           };
         }),
         }),
       });
       });
@@ -2204,6 +2209,11 @@ if (Meteor.isServer) {
           _id: doc._id,
           _id: doc._id,
           title: doc.title,
           title: doc.title,
           description: doc.description,
           description: doc.description,
+          receivedAt: doc.receivedAt,
+          startAt:doc.startAt,
+          dueAt: doc.dueAt,
+          endAt: doc.endAt,
+          assignees: doc.assignees,
         };
         };
       }),
       }),
     });
     });