Skip to content
Snippets Groups Projects
Commit b0fd1077 authored by Александр Плохих's avatar Александр Плохих :waxing_gibbous_moon:
Browse files

rm manula http status init in response

parent 4ebf14ce
No related branches found
No related tags found
1 merge request!1Ptps|controller 1
......@@ -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()));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment