fix live care user

merge-requests/693/head
Mohammad Aljammal 5 years ago
parent e89d5b13ab
commit 1391799101

@ -32,6 +32,7 @@ class DashboardService extends BaseService {
Future checkDoctorHasLiveCare() async { Future checkDoctorHasLiveCare() async {
hasError = false; hasError = false;
await getDoctorProfile(isGetProfile: true);
await baseAppClient.post( await baseAppClient.post(
DOCTOR_CHECK_HAS_LIVE_CARE, DOCTOR_CHECK_HAS_LIVE_CARE,
onSuccess: (dynamic response, int statusCode) { onSuccess: (dynamic response, int statusCode) {
@ -43,7 +44,7 @@ class DashboardService extends BaseService {
super.error = error; super.error = error;
}, },
body: { body: {
"DoctorID": 9920 "DoctorID": doctorProfile.doctorID// test user 9920
}, },
); );
} }

Loading…
Cancel
Save