feat : remove log in IB

This commit is contained in:
2025-10-17 12:11:44 +05:30
parent ad19f0cb4c
commit 6acb7ade49
5 changed files with 52 additions and 24 deletions

View File

@@ -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);