chore: update auth and portal
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { request } from '../utils/request';
|
||||
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 } }),
|
||||
sendOTP: (phone) => request("/auth/otp", { method: "POST", body: { phone } }),
|
||||
login: (phone, otp) =>
|
||||
request("/auth/login", { method: "POST", body: { phone, otp } }),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user