change some files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user