check phone impl

This commit is contained in:
efrilm
2025-09-18 08:01:49 +07:00
parent 214dfe3262
commit 1ca1a45126
15 changed files with 275 additions and 80 deletions
@@ -41,6 +41,13 @@ class AuthRemoteDataProvider {
AuthFailure.dynamicErrorMessage('No. Telepon Tidak Boleh Kosong'),
);
}
if (response.data['errors'][0]['code'] == 304) {
return DC.error(
AuthFailure.dynamicErrorMessage(
response.data['errors'][0]['cause'],
),
);
}
}
}