From 32121c022930c206ee4baa264f6d1b6106b5f32c Mon Sep 17 00:00:00 2001 From: Tomas 'Jethro' Pokorny Date: Wed, 18 Nov 2020 11:04:18 +0100 Subject: [PATCH] Bugfix. --- vue_frontend/src/components/UlohaZadaniNode.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/vue_frontend/src/components/UlohaZadaniNode.vue b/vue_frontend/src/components/UlohaZadaniNode.vue index b41fc872..32f0d93b 100644 --- a/vue_frontend/src/components/UlohaZadaniNode.vue +++ b/vue_frontend/src/components/UlohaZadaniNode.vue @@ -58,9 +58,11 @@ export default { axios.post('/api/ulohazadaninode/',{ refnode: this.refnode.id, where: this.where, - max_body: this.max_body, - kod: this.kod, - nazev: this.nazev, + uloha: { + max_body: this.max_body, + kod: this.kod, + nazev: this.nazev, + }, }).then(response => { console.log(response.data); this.loading=false;