diff --git a/ref-test/app/tools/forms.py b/ref-test/app/tools/forms.py index 8be1aab..5165d10 100644 --- a/ref-test/app/tools/forms.py +++ b/ref-test/app/tools/forms.py @@ -57,5 +57,5 @@ def get_dataset_choices(): return dataset_choices def send_errors_to_client(form): - errors = [*form.errors] + errors = [*form.errors.values()] return jsonify({ 'error': errors}), 400 \ No newline at end of file