Loading src/Controller/SortPriceController.php +1 −4 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ class SortPriceController extends AbstractController #[Route('/sort/price', name: 'app_sort_price', methods: ['POST'])] public function index(PricesRequest $request, SortPriceAction $action): JsonResponse { return new JsonResponse( $action->act($request->serialise()), 200 ); return new JsonResponse($action->act($request->serialise())); } } Loading
src/Controller/SortPriceController.php +1 −4 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ class SortPriceController extends AbstractController #[Route('/sort/price', name: 'app_sort_price', methods: ['POST'])] public function index(PricesRequest $request, SortPriceAction $action): JsonResponse { return new JsonResponse( $action->act($request->serialise()), 200 ); return new JsonResponse($action->act($request->serialise())); } }