aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas <jonas@freesources.org>2024-07-18 00:06:37 +0200
committerGitHub <noreply@github.com>2024-07-18 00:06:37 +0200
commit41356659c067c2f2573a2f4bc47df400289d4b97 (patch)
treebba0d1a02922a881bae57fbef34e1953a94feb48
parent718ef5dea5288a13e9536fd9a611ff777ee7168d (diff)
parent9fe4edca2c652606cc620719e1e9864e0eb975e6 (diff)
downloadnextcloud-server-41356659c067c2f2573a2f4bc47df400289d4b97.tar.gz
nextcloud-server-41356659c067c2f2573a2f4bc47df400289d4b97.zip
Merge pull request #46581 from nextcloud/fix/reference_api_no_anon_rate
fix(ReferenceApiController): Remove accidently added AnonRateLimit
-rw-r--r--core/Controller/ReferenceApiController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Controller/ReferenceApiController.php b/core/Controller/ReferenceApiController.php
index a9d15ed4231..e12cedfe927 100644
--- a/core/Controller/ReferenceApiController.php
+++ b/core/Controller/ReferenceApiController.php
@@ -109,7 +109,6 @@ class ReferenceApiController extends \OCP\AppFramework\OCSController {
* 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();