Skip to content

Commit

Permalink
Merge pull request #46581 from nextcloud/fix/reference_api_no_anon_rate
Browse files Browse the repository at this point in the history
fix(ReferenceApiController): Remove accidently added AnonRateLimit
  • Loading branch information
mejo- authored Jul 17, 2024
2 parents 718ef5d + 9fe4edc commit 4135665
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/Controller/ReferenceApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public function extractPublic(string $text, string $sharingToken, bool $resolve
* 200: Reference returned
*/
#[ApiRoute(verb: 'GET', url: '/resolve', root: '/references')]
#[AnonRateLimit(limit: 10, period: 120)]
public function resolveOne(string $reference): DataResponse {
/** @var ?CoreReference $resolvedReference */
$resolvedReference = $this->referenceManager->resolveReference(trim($reference))?->jsonSerialize();
Expand Down

0 comments on commit 4135665

Please sign in to comment.