From de1e76f746f600bc6b7ca5c8d24a099cfc881d6e Mon Sep 17 00:00:00 2001 From: i701 Date: Sun, 20 Apr 2025 08:48:42 +0500 Subject: [PATCH] fix: correct OTP type in VerifyRegistrationOTP function --- queries/authentication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/authentication.ts b/queries/authentication.ts index 6a2c6e2..34a66ad 100644 --- a/queries/authentication.ts +++ b/queries/authentication.ts @@ -162,7 +162,7 @@ export async function VerifyRegistrationOTP( }, body: JSON.stringify({ mobile: mobile, - otp: Number.parseInt(otp as string), + otp: otp as string, }), }, );