create address + fix location restaurant

This commit is contained in:
hamid zarghami
2025-11-27 09:47:14 +03:30
parent b3716d8602
commit fa7f95df43
17 changed files with 711 additions and 368 deletions
+2 -2
View File
@@ -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;
};