diff --git a/lib/client/base_app_client.dart b/lib/client/base_app_client.dart index ac5846fa..31f3be0d 100644 --- a/lib/client/base_app_client.dart +++ b/lib/client/base_app_client.dart @@ -68,7 +68,7 @@ class BaseAppClient { body['LanguageID'] = 2; body['stamp'] = STAMP; - if(!body.containsKey("IPAdress")) + // if(!body.containsKey("IPAdress")) body['IPAdress'] = IP_ADDRESS; body['VersionID'] = VERSION_ID; body['Channel'] = CHANNEL; @@ -87,7 +87,7 @@ class BaseAppClient { print("URL : $url"); print("Body : ${json.encode(body)}"); String bodyData= json.encode(body); - + var asd=""; if (await Helpers.checkConnection()) { diff --git a/lib/config/config.dart b/lib/config/config.dart index a8f7ef6e..c8b4e8e4 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -121,7 +121,7 @@ const GET_DASHBOARD = const GET_SICKLEAVE_STATISTIC = 'Services/DoctorApplication.svc/REST/PreSickLeaveStatistics'; const ARRIVED_PATIENT_URL = - 'Services/DoctorApplication.svc/REST/PatientArrivalList​'; + 'Services/DoctorApplication.svc/REST/PatientArrivalList'; const ADD_SICK_LEAVE = 'Services/DoctorApplication.svc/REST/PostSickLeave'; const GET_SICK_LEAVE = 'Services/DoctorApplication.svc/REST/GetAllSickLeaves'; const EXTEND_SICK_LEAVE = 'Services/DoctorApplication.svc/REST/ExtendSickLeave';