Skip to content

Commit

Permalink
Amend delete URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Aug 9, 2023
1 parent 5a544f4 commit 2cce98f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const useCreateIntegration = ({
createPromise: async (integrationOptions) => {
if (lastCreatedIntegration && deletePreviousIntegration) {
await http?.delete(
`/api/fleet/epm/packages/${lastCreatedIntegration.integrationName}/1.0.0`,
`/api/fleet/epm/packages/custom_${lastCreatedIntegration.integrationName}/1.0.0`,
{}
);
}
Expand Down

0 comments on commit 2cce98f

Please sign in to comment.