Skip to content

Commit 1c53d07

Browse files
marcelklehrbackportbot[bot]
authored andcommitted
fix(TextProcessingApiController): Set better attribute on routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net> [skip ci]
1 parent 50b6c66 commit 1c53d07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Controller/TextProcessingApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function taskTypes(): DataResponse {
110110
* 400: Scheduling task is not possible
111111
* 412: Scheduling task is not possible
112112
*/
113-
#[PublicPage]
113+
#[NoAdminRequired]
114114
#[UserRateLimit(limit: 20, period: 120)]
115115
#[AnonRateLimit(limit: 5, period: 120)]
116116
public function schedule(string $input, string $type, string $appId, string $identifier = ''): DataResponse {

0 commit comments

Comments
 (0)