change some files

This commit is contained in:
2026-06-02 17:08:52 +03:30
parent b8dc1d0e1b
commit cfb48c5bb0
76 changed files with 5204 additions and 2555 deletions

View File

@@ -3,3 +3,8 @@ import callAPI from "@/core/caller";
export async function getAllCenters() {
return await callAPI.get(`/center/all`).then((res) => res.data);
}
export async function selectCenter(centerId: string) {
return await callAPI
.post("/center/select", { centerId })
.then((res) => res.data);
}

View File

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