Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5c4e088c0b
commit
3837744b03
|
|
@ -23,7 +23,7 @@ class LeagueController extends AbstractController
|
||||||
{
|
{
|
||||||
return $handleCreateLeague($request);
|
return $handleCreateLeague($request);
|
||||||
}
|
}
|
||||||
#[Route('/api/league/{leagueId}', name: 'app_get_put_league', methods: ['GET, PUT'])]
|
#[Route('/api/league/{leagueId}', name: 'app_get_put_league', methods: ['GET', 'PUT'])]
|
||||||
public function getOrUpdateLeagueById(Request $request, HandleGetLeagueById $handleGetLeagueById, HandleUpdateLeague $handleUpdateLeague, int $leagueId): JsonResponse
|
public function getOrUpdateLeagueById(Request $request, HandleGetLeagueById $handleGetLeagueById, HandleUpdateLeague $handleUpdateLeague, int $leagueId): JsonResponse
|
||||||
{
|
{
|
||||||
if ($request->getMethod() == 'GET')
|
if ($request->getMethod() == 'GET')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue