From 6ec46f02a9fa7b0666bb509c9d10db77938b8b6f Mon Sep 17 00:00:00 2001 From: sadnub Date: Mon, 8 Nov 2021 21:17:41 -0500 Subject: [PATCH] fix deleting automation task #791 --- web/src/components/automation/PolicyAutomatedTasksTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();