create address + fix location restaurant
This commit is contained in:
@@ -2,11 +2,11 @@ import { api } from "@/lib/api/axiosInstance";
|
||||
import { LoginOTPRequestType, LoginVerifyOTPType } from "../types/Types";
|
||||
|
||||
export const loginOTP = async (params: LoginOTPRequestType) => {
|
||||
const { data } = await api.post("/auth/otp/request", params);
|
||||
const { data } = await api.post("/public/auth/otp/request", params);
|
||||
return data;
|
||||
};
|
||||
|
||||
export const loginVerifyOTP = async (params: LoginVerifyOTPType) => {
|
||||
const { data } = await api.post("/auth/otp/verify", params);
|
||||
const { data } = await api.post("/public/auth/otp/verify", params);
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user