🩹 Fix: error check in Form binder (#3110)

fix: error check
pull/3116/head
耗子 2024-08-26 14:29:13 +08:00 committed by GitHub
parent 260c5e5406
commit 062ac3bf7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ func (b *formBinding) Bind(reqCtx *fasthttp.RequestCtx, out any) error {
}
})
if err != nil {
return err
}
return parse(b.Name(), out, data)
}