From d574dd0b160242689aa5cccdc3d467449f890d40 Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Tue, 18 May 2021 11:31:47 +0300 Subject: [PATCH] return base app client --- lib/client/base_app_client.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/client/base_app_client.dart b/lib/client/base_app_client.dart index 3914dce6..6677d305 100644 --- a/lib/client/base_app_client.dart +++ b/lib/client/base_app_client.dart @@ -31,14 +31,13 @@ class BaseAppClient { if (body['DoctorID'] == "") body['DoctorID'] = null; if (body['EditedBy'] == null) body['EditedBy'] = doctorProfile?.doctorID; - // if (body['ProjectID'] == null) { - // body['ProjectID'] = 15;//doctorProfile?.projectID; - // } + if (body['ProjectID'] == null) { + body['ProjectID'] = doctorProfile?.projectID; + } if (body['ClinicID'] == null) body['ClinicID'] = doctorProfile?.clinicID; } - body['ProjectID'] = 15; if (body['DoctorID'] == '') { body['DoctorID'] = null; }