Fix Rating

This commit is contained in:
R
2022-09-23 09:35:39 +07:00
parent 5fe1dc4bc6
commit bae91e6120
5 changed files with 49 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ class PractitionerRoleToDoctorDetailResource extends JsonResource
'work_experience' => $this->meta->work_experience ?? '',
'keilmuan' => $this->meta->keilmuan ?? '',
'description' => $this->meta->description ?? '',
'rating' => rand(350, 500) / 10,
'rating' => rand(350, 500) / 100,
'is_chat_available' => $this->is_chat_available,
'is_video_available' => $this->is_video_available,