summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorGitGramm <62480309+GitGramm@users.noreply.github.com>2020-06-01 14:23:43 +0200
committerGitHub <noreply@github.com>2020-06-01 14:23:43 +0200
commitd2a7a8287084c8dfdbe45adcd3e9a08338a7b231 (patch)
tree92af4c087e4550b0591189c4caeafa8979ec47ef /models
parent5e49006b6fd1e858b8ff7fc5c2ac46dc578ebac3 (diff)
downloadwekan-d2a7a8287084c8dfdbe45adcd3e9a08338a7b231.tar.gz
wekan-d2a7a8287084c8dfdbe45adcd3e9a08338a7b231.tar.bz2
wekan-d2a7a8287084c8dfdbe45adcd3e9a08338a7b231.zip
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
Diffstat (limited to 'models')
-rw-r--r--models/cards.js8
1 files changed, 8 insertions, 0 deletions
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,
};
}),
});