summaryrefslogtreecommitdiffstats
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-08-09 10:05:24 +0200
commitad645c96f3d406206d2fb4aa76b3a96ddbfaa8d3 (patch)
tree860f75de8272cf0cac72ac501234875627def68f /core
parentcac51714e227ef652f97eabd0cfd888b2c5fa276 (diff)
downloadnextcloud-server-ad645c96f3d406206d2fb4aa76b3a96ddbfaa8d3.tar.gz
nextcloud-server-ad645c96f3d406206d2fb4aa76b3a96ddbfaa8d3.zip
Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 6d568b0d32d1255f76608e9d6b4b154dc57e5fea)
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);
}