Skip to content

Commit

Permalink
Merge pull request #9227 from nextcloud/fix/PR9216-stable2.2
Browse files Browse the repository at this point in the history
[stable2.2] fix(setup): Fix rate limit annotation syntax
  • Loading branch information
ChristophWurst committed Jan 8, 2024
2 parents 8f7a6a6 + 6e08030 commit e9606a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Controller/AutoConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(IRequest $request,
*
* @NoAdminRequired
* @TrapError
* @UserRateThrottle(limit: 5, period: 60)
* @UserRateThrottle(limit=5, period=60)
*
* @return JsonResponse
*/
Expand All @@ -81,7 +81,7 @@ public function queryIspdb(string $email): JsonResponse {
*
* @NoAdminRequired
* @TrapError
* @UserRateThrottle(limit: 5, period: 60)
* @UserRateThrottle(limit=5, period=60)
*
* @return JsonResponse
*/
Expand All @@ -103,7 +103,7 @@ public function queryMx(string $email): JsonResponse {
*
* @NoAdminRequired
* @TrapError
* @UserRateThrottle(limit: 10, period: 60)
* @UserRateThrottle(limit=10, period=60)
*
* @return JsonResponse
*/
Expand Down

0 comments on commit e9606a1

Please sign in to comment.