fix deleting automation task #791

This commit is contained in:
sadnub
2021-11-08 21:17:41 -05:00
parent d643c17ff1
commit 6ec46f02a9

View File

@@ -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();