handle missing lanes arg when creating a board
Change-Id: Ie523c038ff9b8e5ccb439133396cada836877549 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
923495c192
commit
e851899497
|
@ -325,7 +325,7 @@ class BoardsController(rest.RestController):
|
|||
if board.creator_id and board.creator_id != user_id:
|
||||
abort(400, _("You can't select the creator of a board."))
|
||||
board_dict.update({"creator_id": user_id})
|
||||
lanes = board_dict.pop('lanes')
|
||||
lanes = board_dict.pop('lanes') or []
|
||||
owners = board_dict.pop('owners')
|
||||
users = board_dict.pop('users')
|
||||
if not owners:
|
||||
|
|
Loading…
Reference in New Issue