Files
juwan-frontend/lib/api/auth-extra.ts
T
2026-02-28 15:39:48 +08:00

9 lines
225 B
TypeScript

import { httpJson } from "./http"
export async function sendForgotPasswordCode(email: string): Promise<void> {
await httpJson<unknown>("/api/v1/auth/forgot-password/send", {
method: "POST",
json: { email },
})
}