]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix tests: Adjust constructor signature 38854/head
authorMarcel Klehr <mklehr@gmx.net>
Wed, 19 Jul 2023 15:33:11 +0000 (17:33 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 19 Jul 2023 15:33:11 +0000 (17:33 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
core/Controller/TextProcessingApiController.php

index 58036fb25bc5362050bc24af5d1ae162b9392d82..9ed332644e14548b43ccad8c9a885ff7e640b452 100644 (file)
@@ -91,7 +91,7 @@ class TextProcessingApiController extends \OCP\AppFramework\OCSController {
         */
        public function schedule(string $input, string $type, string $appId, string $identifier = ''): DataResponse {
                try {
-                       $task = new Task($type, $input, $this->userId, $appId, $identifier);
+                       $task = new Task($type, $input, $appId, $this->userId, $identifier);
                } catch (InvalidArgumentException) {
                        return new DataResponse(['message' => $this->l->t('Requested task type does not exist')], Http::STATUS_BAD_REQUEST);
                }