feat :VerifyOtp and SendOtp creation for "seetings", "send monet", "password expiry" and "set login and tpassword"
This commit is contained in:
@@ -12,12 +12,12 @@ interface SendOtpPayload {
|
||||
ref?: string;
|
||||
date?: string;
|
||||
userOtp?: string;
|
||||
username?:string
|
||||
username?: string
|
||||
}
|
||||
|
||||
function getStoredMobileNumber(): string | null {
|
||||
// const mobileNumber = localStorage.getItem('remitter_mobile_no');
|
||||
const mobileNumber = "7890544527";
|
||||
const mobileNumber = "6297421727";
|
||||
if (!mobileNumber) {
|
||||
notifications.show({
|
||||
title: 'Missing Mobile Number',
|
||||
@@ -59,7 +59,7 @@ export async function verifyOtp(otp: string) {
|
||||
}
|
||||
}
|
||||
|
||||
export async function verifyLoginOtp(otp: string,mobileNumber:string) {
|
||||
export async function verifyLoginOtp(otp: string, mobileNumber: string) {
|
||||
try {
|
||||
// const mobileNumber = getStoredMobileNumber();
|
||||
const response = await axios.post(
|
||||
|
||||
Reference in New Issue
Block a user