diff --git a/lib/Controller/CardApiController.php b/lib/Controller/CardApiController.php index a26817c9a..5aa45d0f6 100644 --- a/lib/Controller/CardApiController.php +++ b/lib/Controller/CardApiController.php @@ -87,7 +87,7 @@ class CardApiController extends ApiController { * Update a card */ public function update($title, $type, $order = 0, $description = '', $owner, $duedate = null) { - $card = $this->cardService->update($this->request->getParam('cardId'), $title, $this->request->getParam('stackId'), $type, $order, $description, $owner, $duedate); + $card = $this->cardService->update($this->request->getParam('cardId'), $title, $this->request->getParam('stackId'), $type, $order, $description, $owner, $duedate, 0); return new DataResponse($card, HTTP::STATUS_OK); } diff --git a/lib/Controller/StackApiController.php b/lib/Controller/StackApiController.php index 936311bac..6e4fb3867 100644 --- a/lib/Controller/StackApiController.php +++ b/lib/Controller/StackApiController.php @@ -102,7 +102,7 @@ class StackApiController extends ApiController { * Update a stack by the specified stackId and boardId with the values that were put. */ public function update($title, $order) { - $stack = $this->stackService->update($this->request->getParam('stackId'), $title, $this->request->getParam('boardId'), $order); + $stack = $this->stackService->update($this->request->getParam('stackId'), $title, $this->request->getParam('boardId'), $order, 0); return new DataResponse($stack, HTTP::STATUS_OK); }