From f266186656fc37f2795dcf77d7ac439d4396c63c Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 10 Jan 2024 20:58:00 +0100 Subject: [PATCH] fix: no need for crsf on toplist --- lib/Controller/ToplistController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/Controller/ToplistController.php b/lib/Controller/ToplistController.php index 161cb6b..28bef13 100644 --- a/lib/Controller/ToplistController.php +++ b/lib/Controller/ToplistController.php @@ -19,18 +19,10 @@ class ToplistController extends Controller parent::__construct(Application::APP_ID, $request); } - /** - * @NoAdminRequired - * @NoCSRFRequired - */ public function hot(): JSONResponse { return new JSONResponse($this->fyydService->hot()); } - /** - * @NoAdminRequired - * @NoCSRFRequired - */ public function new(): JSONResponse { return new JSONResponse($this->fyydService->latest()); }