Files
hounam-submit-form-frontend/services/apis/identity.api.ts
2026-05-31 18:00:43 +03:30

9 lines
256 B
TypeScript

import callAPI from "@/core/caller";
import { IdentityFormValues } from "@/core/types";
export async function sendIdentityForm(data: IdentityFormValues) {
return await callAPI
.post(`/form/identity/create`, { data })
.then((res) => res.data);
}