Files
tonePage/apps/frontend/lib/api/user/updatePassword.ts
2025-12-12 17:25:26 +08:00

10 lines
241 B
TypeScript

import fetcher from "../fetcher";
export async function updatePassword(password: string) {
return fetcher(`/api/user/password`, {
method: 'PUT',
body: JSON.stringify({
password: password,
}),
})
}