Email for professionals and teams
import { changePasswordSchema } from "@/lib/validators";
import type { ChangePasswordInput } from "./types";
export async function parseChangePasswordRequest(request: Request): Promise<ChangePasswordInput> {
const body = await request.json();
return changePasswordSchema.parse(body);
}