Skip to content

Commit

Permalink
fix(ReferenceApiController): Remove accidently added AnonRateLimit
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Jul 17, 2024
1 parent e4368f6 commit 9fe4edc
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 9fe4edc

Please sign in to comment.