From 43e682975ba299a48341d610e70022d37cfe5213 Mon Sep 17 00:00:00 2001 From: Sr-Iury Date: Mon, 2 Dec 2024 22:19:11 -0300 Subject: [PATCH] fix: correction in updating the subject image :bug: --- components/Section/Disciplinas/Form/Form.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/Section/Disciplinas/Form/Form.vue b/components/Section/Disciplinas/Form/Form.vue index 06def7a..bdc06db 100644 --- a/components/Section/Disciplinas/Form/Form.vue +++ b/components/Section/Disciplinas/Form/Form.vue @@ -95,9 +95,8 @@ const onSubmit = handleSubmit(async (values: FormOutput) => { } else { await apiClient.disciplinas.disciplinaUpdateOneById({ id: editId, - requestBody: { - ...values, + ...data, }, });