Skip to content

Commit

Permalink
remove provision group not sending id
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Apr 29, 2024
1 parent cb587a4 commit 31b5e4b
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 31b5e4b

Please sign in to comment.