fix: no need for crsf on toplist
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m59s

This commit is contained in:
Michel Roux 2024-01-10 20:58:00 +01:00
parent 9a3751b5be
commit f266186656

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