fix resources code
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Modules\Linksehat\Transformers;
|
||||
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Modules\Linksehat\Transformers\Speciality\SpecialityResource;
|
||||
|
||||
class DoctorResource extends JsonResource
|
||||
{
|
||||
@@ -112,8 +112,8 @@ class DoctorResource extends JsonResource
|
||||
'is_online' => false,
|
||||
'is_insurance_covered' => rand(0, 1) == 1,
|
||||
'price_range' => 'Rp 100.000 - Rp 350.000',
|
||||
'price_start' => '100000',
|
||||
'price_end' => '350000',
|
||||
'price_start' => '100000', // min
|
||||
'price_end' => '350000', // max
|
||||
'currency' => 'IDR',
|
||||
'avatar_url' => asset('images/default-doctor-avatar.png'),
|
||||
'education' => $this->meta->education ?? '',
|
||||
|
||||
Reference in New Issue
Block a user