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
This commit is contained in:
GitGramm 2020-06-01 14:23:43 +02:00 committed by GitHub
parent 5e49006b6f
commit d2a7a82870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
};
}),
});