removed some fields from profile

This commit is contained in:
2024-10-15 16:32:39 +05:30
parent 17c100a035
commit cd7c16e81b
3 changed files with 37 additions and 38 deletions

View File

@@ -661,6 +661,7 @@ class HttpRequestClient {
final statusFail = (map['status'] is String &&
(map['status'] as String).toLowerCase() == "fail");
final status400 = (map['status'] is int && map['status'] == 400);
if (map.containsKey('status') && (statusFail || status400)) {
return ResponseModel.named(
statusCode: 0,