diff --git a/lib/Controller/CardController.php b/lib/Controller/CardController.php index dcb3e6046..b9238cb1d 100644 --- a/lib/Controller/CardController.php +++ b/lib/Controller/CardController.php @@ -78,8 +78,8 @@ public function rename($cardId, $title) { * @param int $order * @return \OCP\AppFramework\Db\Entity */ - public function create($title, $stackId, $type = 'plain', $order = 999) { - return $this->cardService->create($title, $stackId, $type, $order, $this->userId); + public function create($title, $stackId, $type = 'plain', $order = 999, string $description = '') { + return $this->cardService->create($title, $stackId, $type, $order, $this->userId, $description); } /** diff --git a/src/CardCreateDialog.vue b/src/CardCreateDialog.vue index 122cc4838..8385ae823 100644 --- a/src/CardCreateDialog.vue +++ b/src/CardCreateDialog.vue @@ -58,7 +58,7 @@ type="text" :placeholder="t('deck', 'Card title')" :disabled="loading || !selectedStack"> -