Fix controller deleted at parameter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -87,7 +87,7 @@ class CardApiController extends ApiController {
|
|||||||
* Update a card
|
* Update a card
|
||||||
*/
|
*/
|
||||||
public function update($title, $type, $order = 0, $description = '', $owner, $duedate = null) {
|
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);
|
return new DataResponse($card, HTTP::STATUS_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ class StackApiController extends ApiController {
|
|||||||
* Update a stack by the specified stackId and boardId with the values that were put.
|
* Update a stack by the specified stackId and boardId with the values that were put.
|
||||||
*/
|
*/
|
||||||
public function update($title, $order) {
|
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);
|
return new DataResponse($stack, HTTP::STATUS_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user