mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 18:34:55 +00:00
profile page
This commit is contained in:
@ -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>;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user