11 lines
220 B
TypeScript
11 lines
220 B
TypeScript
// Auto-generated auth service
|
|
import { api } from "./api";
|
|
|
|
export function postlogin(data: Record<string, unknown>) {
|
|
return api.post("/api/auth", data);
|
|
}
|
|
|
|
export function getme() {
|
|
return api.get("/api/auth");
|
|
}
|