feat : remove log in IB
This commit is contained in:
@@ -37,6 +37,7 @@ export async function sendOtp(payload: SendOtpPayload) {
|
||||
{ ...payload, mobileNumber },
|
||||
{ headers: { 'Content-Type': 'application/json' } }
|
||||
);
|
||||
console.log('otp sended.');
|
||||
return response.data;
|
||||
} catch (error: any) {
|
||||
console.error('Error sending OTP:', error.response?.data || error.message);
|
||||
@@ -52,6 +53,7 @@ export async function verifyOtp(otp: string) {
|
||||
{ otp },
|
||||
{ headers: { 'Content-Type': 'application/json' } }
|
||||
);
|
||||
console.log('Otp verified');
|
||||
return response.data;
|
||||
} catch (error: any) {
|
||||
console.error('Error verifying OTP:', error.response?.data || error.message);
|
||||
@@ -67,6 +69,7 @@ export async function verifyLoginOtp(otp: string, mobileNumber: string) {
|
||||
{ otp },
|
||||
{ headers: { 'Content-Type': 'application/json' } }
|
||||
);
|
||||
console.log('Otp verified.');
|
||||
return response.data;
|
||||
} catch (error: any) {
|
||||
console.error('Error verifying OTP:', error.response?.data || error.message);
|
||||
|
||||
Reference in New Issue
Block a user