feat : api call and get captcha

This commit is contained in:
2025-05-17 09:39:09 +03:30
parent 64c89af440
commit 0e630e709b
8 changed files with 38 additions and 27 deletions

View File

@@ -40,11 +40,10 @@ class AuthRepositoryImpl implements AuthRepository {
'captcha/',
fromJson: CaptchaResponseModel.fromJson,
);
return res.data;
},
onSuccess: (response) {
iLog(response);
return response;
},
onError: (error, trace) {
throw Exception('Error during captcha : $error');