Browse Source

Merge pull request #2 from GitGramm/GitGramm-patch-2

Added dates & assignees to REST API calls incl receivedAt
GitGramm 5 năm trước cách đây
mục cha
commit
333b9c811d
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,