9 lines
256 B
TypeScript
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);
|
|
}
|