From 330ba69b22e035eaed3e57ef0efcbc76e72bd6c5 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 --- src/components/automation/PolicyAutomatedTasksTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/automation/PolicyAutomatedTasksTab.vue b/src/components/automation/PolicyAutomatedTasksTab.vue index e32ea8a..0522e3e 100644 --- a/src/components/automation/PolicyAutomatedTasksTab.vue +++ b/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();