Browse Source

Added dates & assignees to REST API calls #3145

I have added the dates (stat, due, end) and the assignees to the output of the REST API Calls
GitGramm 5 years ago
parent
commit
d2a7a82870
1 changed files with 8 additions and 0 deletions
  1. 8 0
      models/cards.js

+ 8 - 0
models/cards.js

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