Hide region field

This commit is contained in:
Abdullah Alassaf
2024-12-23 00:52:05 +03:00
parent c362973c94
commit c160220fca
7 changed files with 86 additions and 86 deletions

View File

@ -22,16 +22,16 @@ class AuthenticationAPI {
}) async {
final response = await HTTPService().post(
path: ApiEndpoints.forgetPassword,
body: {"email": email, "password": password,"otpCode": otpCode},
body: {"email": email, "password": password, "otpCode": otpCode},
showServerMessage: true,
expectedResponseModel: (json) {});
return response;
}
static Future<int?> sendOtp({required String email, required String regionUuid}) async {
static Future<int?> sendOtp({required String email}) async {
final response = await HTTPService().post(
path: ApiEndpoints.sendOtp,
body: {"email": email, "type": "PASSWORD", "regionUuid": regionUuid},
body: {"email": email, "type": "PASSWORD"},
showServerMessage: true,
expectedResponseModel: (json) {
return json['data']['cooldown'];