Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #180 from joanhey/patch-1
Browse files Browse the repository at this point in the history
Update StatsPlayerController.php
  • Loading branch information
programarivm authored Aug 6, 2024
2 parents 536fb77 + 7b93a8f commit c39fb98
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Controller/StatsPlayerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ public function index(Request $request): Response
return $this->json($arr);
}

$response = new Response();
$response->setStatusCode(Response::HTTP_NO_CONTENT);

return $response;
return new Response('', Response::HTTP_NO_CONTENT);
}
}

0 comments on commit c39fb98

Please sign in to comment.