check phone impl
This commit is contained in:
@@ -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'],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user