create one item for mission and fix in another table
This commit is contained in:
@@ -41,7 +41,7 @@ class RoadMaintenanceStationController extends Controller
|
|||||||
public function findByCity(Request $request): JsonResponse
|
public function findByCity(Request $request): JsonResponse
|
||||||
{
|
{
|
||||||
$stations = RahdariPoint::query()
|
$stations = RahdariPoint::query()
|
||||||
->where('city_id', $request->city_id)
|
->where('city_id', $request->query('city_id'))
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
return $this->successResponse($stations);
|
return $this->successResponse($stations);
|
||||||
|
|||||||
Reference in New Issue
Block a user