From a51a312eb4a58d29d4894a3ef04df8756851e747 Mon Sep 17 00:00:00 2001 From: Mohammad ALjammal Date: Thu, 25 Jun 2020 17:28:41 +0300 Subject: [PATCH] fix base app client --- lib/client/base_app_client.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client/base_app_client.dart b/lib/client/base_app_client.dart index edd8802f..3ca3d40a 100644 --- a/lib/client/base_app_client.dart +++ b/lib/client/base_app_client.dart @@ -59,10 +59,10 @@ class BaseAppClient { body['stamp'] = STAMP; body['IPAdress'] = IP_ADDRESS; body['VersionID'] = VERSION_ID; - body['Channel'] = CHANNEL; + if (body['Channel'] == null) body['Channel'] = CHANNEL; body['SessionID'] = SESSION_ID; body['IsLoginForDoctorApp'] = IS_LOGIN_FOR_DOCTOR_APP; - body['PatientOutSA'] = PATIENT_OUT_SA; + body['PatientOutSA'] = 0; // PATIENT_OUT_SA; print("URL : $url"); print("Body : ${json.encode(body)}");