diff --git a/frontend/src/app/common/manage-doc-types.ts b/frontend/src/app/common/manage-doc-types.ts index fb4c7415..40b003dd 100644 --- a/frontend/src/app/common/manage-doc-types.ts +++ b/frontend/src/app/common/manage-doc-types.ts @@ -135,7 +135,7 @@ export const updateProvisionGroups = async (updatedProvisionGroups: ProvisionGro }; export const removeProvisionGroup = async (provision_group_id: number) => { - const url = `${config.API_BASE_URL}/document-type/remove-provision-group`; + const url = `${config.API_BASE_URL}/document-type/remove-provision-group/${provision_group_id}`; const getParameters = api.generateApiParameters(url); const response = await api.post(getParameters); console.log(response);