summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorGitGramm <62480309+GitGramm@users.noreply.github.com>2020-06-01 15:44:51 +0200
committerGitHub <noreply@github.com>2020-06-01 15:44:51 +0200
commit1df3d56f7c33a0694bf46da8d3500977611c4bdd (patch)
tree3c47b237ce11ba3006dae1dd326229101ecacfd7 /models
parentd2a7a8287084c8dfdbe45adcd3e9a08338a7b231 (diff)
downloadwekan-1df3d56f7c33a0694bf46da8d3500977611c4bdd.tar.gz
wekan-1df3d56f7c33a0694bf46da8d3500977611c4bdd.tar.bz2
wekan-1df3d56f7c33a0694bf46da8d3500977611c4bdd.zip
Added dates & assignees to REST API calls incl receivedAt
I have added the dates (received, start, due, end) and the assignees to the output of the REST API Calls.
Diffstat (limited to 'models')
-rw-r--r--models/cards.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js
index e0660391..e1d48653 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -2168,6 +2168,7 @@ if (Meteor.isServer) {
title: doc.title,
description: doc.description,
listId: doc.listId,
+ receivedAt: doc.receivedAt,
startAt:doc.startAt,
dueAt: doc.dueAt,
endAt: doc.endAt,
@@ -2208,6 +2209,7 @@ if (Meteor.isServer) {
_id: doc._id,
title: doc.title,
description: doc.description,
+ receivedAt: doc.receivedAt,
startAt:doc.startAt,
dueAt: doc.dueAt,
endAt: doc.endAt,