diff --git a/web/src/components/automation/PolicyAutomatedTasksTab.vue b/web/src/components/automation/PolicyAutomatedTasksTab.vue index e32ea8ae..0522e3e7 100644 --- a/web/src/components/automation/PolicyAutomatedTasksTab.vue +++ b/web/src/components/automation/PolicyAutomatedTasksTab.vue @@ -300,7 +300,7 @@ export default { .onOk(() => { this.$q.loading.show(); this.$axios - .delete(`/tasks/${task.pk}/`) + .delete(`/tasks/${task.id}/`) .then(r => { this.getTasks(); this.$q.loading.hide();