summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorcouscous3 <33840325+couscous3@users.noreply.github.com>2018-02-19 14:55:56 +0100
committerGitHub <noreply@github.com>2018-02-19 14:55:56 +0100
commitee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108 (patch)
tree7f4a86478b83fa35b2dbd67f2b4b665e4c6ad036 /models
parent7f4b382d2f7d6db9bdb323f0f71858bec420725f (diff)
downloadwekan-ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108.tar.gz
wekan-ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108.tar.bz2
wekan-ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108.zip
add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route
Diffstat (limited to 'models')
-rw-r--r--models/cards.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/cards.js b/models/cards.js
index 43e7d843..9b0969ec 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -472,6 +472,7 @@ if (Meteor.isServer) {
listId: paramListId,
description: req.body.description,
userId: req.body.authorId,
+ swimlaneId: req.body.swimlaneId,
sort: 0,
members: [req.body.authorId],
});