import { request } from "../utils/request";

export const authApi = {
  sendOTP: (phone) => request("/auth/otp", { method: "POST", body: { phone } }),
  login: (phone, otp) =>
    request("/auth/login", { method: "POST", body: { phone, otp } }),
};
