api detail appointment
This commit is contained in:
@@ -70,9 +70,7 @@ class AppointmentController extends Controller
|
||||
{
|
||||
$appointment = Appointment::query()->with(['appointmentParticipants', 'organization'])->find($id);
|
||||
|
||||
return new AppointmentDetailResource($appointment);
|
||||
|
||||
return response()->json($appointment);
|
||||
return Helper::responseJson(new AppointmentDetailResource($appointment));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user