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;