Bläddra i källkod

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

Lauri Ojansivu 5 år sedan
förälder
incheckning
e6a2ffc592
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      models/cards.js

+ 1 - 1
models/cards.js

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