瀏覽代碼

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

Added dates & assignees to REST API calls incl receivedAt
GitGramm 5 年之前
父節點
當前提交
333b9c811d
共有 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,