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, }, });