fix api path

This commit is contained in:
Warunee Tamkoo 2024-10-10 09:48:48 +07:00
parent 2f1230ee1d
commit 196ccca744

View file

@ -8,7 +8,7 @@ const orgEmployeePos = `${env.API_URI}/org/employee/pos`;
export default {
/** โครงสร้างอัตรากำลัง*/
activeOrganization: `${organization}/active`,
orgByid: (id: string) => `${organization}/admin/${id}`,
orgByid: (id: string) => `${organization}/super-admin/${id}`,
createOrganization: `${organization}/draft`,
createOrgLevel: (type: string) => `${organization}/${type}`,
orgLevelByid: (type: string, id: string) => `${organization}/${type}/${id}`,