|
|
|
|
@ -177,7 +177,7 @@ class BaseAppClient {
|
|
|
|
|
try {
|
|
|
|
|
Map<String, String> headers = {'Content-Type': 'application/json', 'Accept': 'application/json'};
|
|
|
|
|
|
|
|
|
|
String token = await sharedPref.getString(TOKEN);
|
|
|
|
|
String? token = await sharedPref.getString(TOKEN);
|
|
|
|
|
Map<String, dynamic>? profile = await sharedPref.getObj(DOCTOR_PROFILE);
|
|
|
|
|
|
|
|
|
|
if (profile != null) {
|
|
|
|
|
@ -240,7 +240,7 @@ class BaseAppClient {
|
|
|
|
|
body['PatientOutSA'] = 0; //user['OutSA']; //TODO change it
|
|
|
|
|
body['SessionID'] = SESSION_ID; //getSe
|
|
|
|
|
|
|
|
|
|
int projectID = await sharedPref.getInt(PROJECT_ID);
|
|
|
|
|
int? projectID = await sharedPref.getInt(PROJECT_ID);
|
|
|
|
|
if (projectID == 2 || projectID == 3)
|
|
|
|
|
body['PatientOutSA'] = true;
|
|
|
|
|
else
|
|
|
|
|
|