docs(TaskProcessingApi): Fix result endpoint description

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/45354/head
provokateurin 2 years ago
parent bd6989d365
commit 79e153735c
No known key found for this signature in database
  1. 2
      core/Controller/TaskProcessingApiController.php
  2. 2
      core/openapi.json

@ -363,7 +363,7 @@ class TaskProcessingApiController extends \OCP\AppFramework\OCSController {
}
/**
* This endpoint sets the task progress
* This endpoint sets the task result
*
* @param int $taskId The id of the task
* @param array<string,mixed>|null $output The resulting task output

@ -4498,7 +4498,7 @@
"/ocs/v2.php/taskprocessing/tasks/{taskId}/result": {
"post": {
"operationId": "task_processing_api-set-result",
"summary": "This endpoint sets the task progress",
"summary": "This endpoint sets the task result",
"tags": [
"task_processing_api"
],

Loading…
Cancel
Save