2
0
Эх сурвалжийг харах

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.
GitGramm 5 жил өмнө
parent
commit
1df3d56f7c
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      models/cards.js

+ 2 - 0
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,