Fix controller deleted at parameter

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-08-15 21:09:39 +02:00
parent babfcbddd8
commit 5639bd1274
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}