Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Controller/CardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ public function create($title, $stackId, $type = 'plain', $order = 999, string $
$card = $this->cardService->create($title, $stackId, $type, $order, $this->userId, $description, $duedate);

foreach ($labels as $label) {
$this->assignLabel($card->id, $label);
$this->assignLabel($card->getId(), $label);
}

foreach ($users as $user) {
$this->assignmentService->assignUser($card->id, $user['id'], $user['type']);
$this->assignmentService->assignUser($card->getId(), $user['id'], $user['type']);
}

return $card;
Expand Down