aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-19 17:33:11 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-07-19 17:33:11 +0200
commit6d568b0d32d1255f76608e9d6b4b154dc57e5fea (patch)
tree42649e75d1934861adb17a443b5f5cea0a1eecaf /core
parentfd0fd97a6594f47c9a5fc4f833c2defa07078ae2 (diff)
downloadnextcloud-server-6d568b0d32d1255f76608e9d6b4b154dc57e5fea.tar.gz
nextcloud-server-6d568b0d32d1255f76608e9d6b4b154dc57e5fea.zip
Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core')
-rw-r--r--core/Controller/TextProcessingApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/TextProcessingApiController.php b/core/Controller/TextProcessingApiController.php
index 58036fb25bc..9ed332644e1 100644
--- a/core/Controller/TextProcessingApiController.php
+++ b/core/Controller/TextProcessingApiController.php
@@ -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);
}