api show hospital
This commit is contained in:
@@ -28,7 +28,7 @@ class HospitalResource extends JsonResource
|
||||
'distance' => $this->distance ? ($this->distance < 1 ? round($this->distance * 1000, 2) . " m" : round($this->distance, 2) . " km") : null,
|
||||
'photos' => [
|
||||
'title' => Str::slug($this->name),
|
||||
'url' => asset('images/default-doctor-avatar.png')
|
||||
'url' => asset('images/default-hospital-image.png'),
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user