Closed diericx closed 1 year ago
A lot of form actions weren't fully updated after migrating to super forms. They return known errors like so
return fail(401, { message: e.detail, form })
But should be done like so
return setError(form, null, 'An exercise with that name already exists')
A lot of form actions weren't fully updated after migrating to super forms. They return known errors like so
But should be done like so