From 3dfc33378db573c7d3679527ba1b33f341a0f1dd Mon Sep 17 00:00:00 2001 From: Simon Spannagel Date: Fri, 7 Jan 2022 11:31:32 +0100 Subject: [PATCH] CardApiController: Fix order of optional parameters Signed-off-by: Simon Spannagel --- lib/Controller/CardApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/CardApiController.php b/lib/Controller/CardApiController.php index ecec89a21..1c9e87a18 100644 --- a/lib/Controller/CardApiController.php +++ b/lib/Controller/CardApiController.php @@ -94,7 +94,7 @@ class CardApiController extends ApiController { * * Update a card */ - public function update($title, $type, $order = 0, $description = '', $owner, $duedate = null, $archived = null) { + public function update($title, $type, $owner, $description = '', $order = 0, $duedate = null, $archived = null) { $card = $this->cardService->update($this->request->getParam('cardId'), $title, $this->request->getParam('stackId'), $type, $owner, $description, $order, $duedate, 0, $archived); return new DataResponse($card, HTTP::STATUS_OK); }