profile page

This commit is contained in:
mohammad
2024-07-25 16:19:02 +03:00
parent 21bed5c14d
commit 76b867d4b9
3 changed files with 57 additions and 22 deletions
+1 -2
View File
@@ -43,6 +43,7 @@ class ProfileApi {
rethrow;
}
}
static Future saveTimeZone({String? regionUuid,}) async {
try {
final response = await _httpService.put(
@@ -99,7 +100,6 @@ class ProfileApi {
return response as List<RegionModel>;
}
static Future<List<TimeZone>> fetchTimeZone() async {
final response = await _httpService.get(
path: ApiEndpoints.getTimezone,
@@ -111,5 +111,4 @@ class ProfileApi {
return response as List<TimeZone>;
}
}