mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Merge pull request #3084 from wackazong/master-patch-1
Create card does not allow an empty member list
This commit is contained in:
commit
bbb65ae4e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue