From d2a7a8287084c8dfdbe45adcd3e9a08338a7b231 Mon Sep 17 00:00:00 2001 From: GitGramm <62480309+GitGramm@users.noreply.github.com> Date: Mon, 1 Jun 2020 14:23:43 +0200 Subject: 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 --- models/cards.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'models') diff --git a/models/cards.js b/models/cards.js index b6cc27b7..e0660391 100644 --- a/models/cards.js +++ b/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, }; }), }); -- cgit v1.2.3-1-g7c22