Merge branch 'master' of github.com:wekan/wekan

This commit is contained in:
Lauri Ojansivu 2020-05-13 03:17:11 +03:00
commit e6a2ffc592

View file

@ -2220,7 +2220,7 @@ if (Meteor.isServer) {
const check = Users.findOne({
_id: req.body.authorId,
});
const members = req.body.members || [req.body.authorId];
const members = req.body.members;
const assignees = req.body.assignees;
if (typeof check !== 'undefined') {
const id = Cards.direct.insert({