Skip to content

Commit

Permalink
🩹 Fix: error check in Form binder (gofiber#3110)
Browse files Browse the repository at this point in the history
fix: error check
  • Loading branch information
devhaozi authored Aug 26, 2024
1 parent 260c5e5 commit 062ac3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions binder/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 062ac3b

Please sign in to comment.