order image files
This commit is contained in:
@@ -242,7 +242,7 @@ class RoadMaintenanceStationController extends Controller
|
||||
|
||||
public function images(RahdariPoint $rahdariPoint): JsonResponse
|
||||
{
|
||||
return $this->successResponse($rahdariPoint->files()->get(['path']));
|
||||
return $this->successResponse($rahdariPoint->files()->orderBy('id')->get(['path']));
|
||||
}
|
||||
|
||||
public function map(Request $request): JsonResponse
|
||||
|
||||
Reference in New Issue
Block a user