login impl
This commit is contained in:
@@ -27,6 +27,7 @@ class ApiClient {
|
||||
ApiClient(this._dio, this._env) {
|
||||
_dio.options.baseUrl = _env.baseUrl;
|
||||
_dio.options.connectTimeout = const Duration(seconds: 20);
|
||||
_dio.options.validateStatus = (status) => true;
|
||||
_dio.interceptors.add(BadNetworkErrorInterceptor());
|
||||
_dio.interceptors.add(BadRequestErrorInterceptor());
|
||||
_dio.interceptors.add(InternalServerErrorInterceptor());
|
||||
|
||||
@@ -3,6 +3,6 @@ class ApiPath {
|
||||
static String register = '/api/v1/customer-auth/register/start';
|
||||
static String verify = '/api/v1/customer-auth/register/verify-otp';
|
||||
static String setPassword = '/api/v1/customer-auth/register/set-password';
|
||||
static String login = '/api/v1/customer-auth/register/login';
|
||||
static String login = '/api/v1/customer-auth/login';
|
||||
static String resend = '/api/v1/customer-auth/register/resend-otp';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user