import api from "./apiInstance"; export async function getCaptcha() { const response = await api.get("api/Authenticate/Captcha", { responseType: "blob", }); return response; } export async function LoginStaff(payload: { username: string; password: string; captcha: { key: string; value: string; }; }) { const response = await api.post("api/Authenticate/LoginStaff", payload); return response.data; }