const constructure

This commit is contained in:
Efril
2026-03-01 20:02:12 +07:00
parent 5058f99fe0
commit e625bd3d2a
142 changed files with 817 additions and 760 deletions
@@ -30,7 +30,7 @@ class AuthRemoteDataProvider {
if (response.data['code'] == 401) {
return DC.error(
AuthFailure.serverError(
const AuthFailure.serverError(
ApiFailure.unauthorized('Incorrect email or password'),
),
);
@@ -52,7 +52,7 @@ class AuthRemoteDataProvider {
);
if (response.data['success'] == false) {
return DC.error(AuthFailure.unexpectedError());
return DC.error(const AuthFailure.unexpectedError());
}
return DC.data(unit);