Revert "formatted all files."

This reverts commit 04250ebc98.
This commit is contained in:
Faris Armoush
2025-06-12 16:04:49 +03:00
parent 218f43bacb
commit c642ba2644
473 changed files with 4335 additions and 5417 deletions

View File

@ -31,7 +31,7 @@ class AuthenticationAPI {
try {
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;
@ -45,7 +45,7 @@ class AuthenticationAPI {
static Future<int?> sendOtp({required String email}) async {
final response = await HTTPService().post(
path: ApiEndpoints.sendOtp,
body: {'email': email, 'type': 'PASSWORD'},
body: {"email": email, "type": "PASSWORD"},
showServerMessage: true,
expectedResponseModel: (json) {
return json['data']['cooldown'];
@ -58,7 +58,7 @@ class AuthenticationAPI {
try {
final response = await HTTPService().post(
path: ApiEndpoints.verifyOtp,
body: {'email': email, 'type': 'PASSWORD', 'otpCode': otpCode},
body: {"email": email, "type": "PASSWORD", "otpCode": otpCode},
showServerMessage: true,
expectedResponseModel: (json) {
if (json['message'] == 'Otp Verified Successfully') {