Skip to content

Commit

Permalink
Fix controller deleted at parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 15, 2018
1 parent babfcbd commit 5639bd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Controller/CardApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function create($title, $type = 'plain', $order = 999) {
* 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);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/StackApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function create($title, $order) {
* 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);
}

Expand Down

0 comments on commit 5639bd1

Please sign in to comment.