summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitGramm <62480309+GitGramm@users.noreply.github.com>2020-06-01 15:45:20 +0200
committerGitHub <noreply@github.com>2020-06-01 15:45:20 +0200
commit333b9c811d8314af5ee77bceb94f9f999077118c (patch)
tree3c47b237ce11ba3006dae1dd326229101ecacfd7
parentd2a7a8287084c8dfdbe45adcd3e9a08338a7b231 (diff)
parent1df3d56f7c33a0694bf46da8d3500977611c4bdd (diff)
downloadwekan-333b9c811d8314af5ee77bceb94f9f999077118c.tar.gz
wekan-333b9c811d8314af5ee77bceb94f9f999077118c.tar.bz2
wekan-333b9c811d8314af5ee77bceb94f9f999077118c.zip
Merge pull request #2 from GitGramm/GitGramm-patch-2
Added dates & assignees to REST API calls incl receivedAt
-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,