Fix Rating
This commit is contained in:
@@ -24,7 +24,7 @@ class HospitalResource extends JsonResource
|
||||
'lng' => $this->currentAddress->lng ?? null,
|
||||
'distance' => isset($this->distance_km) ? round($this->distance_km) . ' km' : null,
|
||||
'city_name' => $this->currentAddress->city->name ?? null,
|
||||
'rating' => rand(350, 500) / 10,
|
||||
'rating' => rand(350, 500) / 100,
|
||||
'phone' => $this->meta->phone,
|
||||
'photo_url' => asset('images/default-hospital-image.png'),
|
||||
'photos' => [
|
||||
|
||||
Reference in New Issue
Block a user