summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-06-01 16:51:57 +0300
committerGitHub <noreply@github.com>2020-06-01 16:51:57 +0300
commit2876ce633c0b1a442992e9b5e3ec52639f947a52 (patch)
tree3c47b237ce11ba3006dae1dd326229101ecacfd7
parent5e49006b6fd1e858b8ff7fc5c2ac46dc578ebac3 (diff)
parent333b9c811d8314af5ee77bceb94f9f999077118c (diff)
downloadwekan-2876ce633c0b1a442992e9b5e3ec52639f947a52.tar.gz
wekan-2876ce633c0b1a442992e9b5e3ec52639f947a52.tar.bz2
wekan-2876ce633c0b1a442992e9b5e3ec52639f947a52.zip
Merge pull request #3146 from GitGramm/patch-1
Added dates & assignees to REST API calls #3145
-rw-r--r--models/cards.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js
index b6cc27b7..e1d48653 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -2168,6 +2168,11 @@ if (Meteor.isServer) {
title: doc.title,
description: doc.description,
listId: doc.listId,
+ receivedAt: doc.receivedAt,
+ startAt:doc.startAt,
+ dueAt: doc.dueAt,
+ endAt: doc.endAt,
+ assignees: doc.assignees,
};
}),
});
@@ -2204,6 +2209,11 @@ if (Meteor.isServer) {
_id: doc._id,
title: doc.title,
description: doc.description,
+ receivedAt: doc.receivedAt,
+ startAt:doc.startAt,
+ dueAt: doc.dueAt,
+ endAt: doc.endAt,
+ assignees: doc.assignees,
};
}),
});