Files
hounam-submit-form-frontend/services/apis/identity.api.ts
2026-06-02 17:08:52 +03:30

9 lines
253 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);
}