Skip to content

Commit

Permalink
Merge pull request #174 from bcgov/fix-prov-group-bug
Browse files Browse the repository at this point in the history
Remove provision group API call was not sending the id to remove
  • Loading branch information
mgtennant authored Apr 29, 2024
2 parents b2c3d9a + 31b5e4b commit fe39a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/common/manage-doc-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any>(getParameters);
console.log(response);
Expand Down

0 comments on commit fe39a16

Please sign in to comment.