fix: no need for crsf on toplist

This commit is contained in:
Michel Roux 2024-01-10 20:58:00 +01:00
parent 9a3751b5be
commit f266186656
1 changed files with 0 additions and 8 deletions

View File

@ -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());
}