This commit is contained in:
Abin Toppo
2025-09-15 12:14:56 +05:30
parent 29ac0307db
commit 9be945aca5
5 changed files with 70 additions and 37 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ import {
} from "react-native";
import { RootStackParamList } from "../navigation/AppNavigator";
import * as Keychain from "react-native-keychain";
import { LOGIN_URL } from "../utils/ApiUrls";
import { LOGIN_URL, VARIFY_OTP_URL } from "../utils/ApiUrls";
import { StackNavigationProp } from "@react-navigation/stack";
const theme = {
@@ -76,7 +76,7 @@ export default function OtpVerificationScreen() {
try {
const payload = { mobile, otp };
const res = await axios.post(
"https://exotic-humpback-mistakenly.ngrok-free.app/api/user/otp/verify",
VARIFY_OTP_URL,
payload,
{ headers: { "Content-Type": "application/json", Accept: "*/*" } }
);