1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-06 16:51:32 +00:00

docs: Fix typo on comment (#3158)

fix typo
This commit is contained in:
Muhamad Surya Iksanudin 2024-10-08 03:23:23 +07:00 committed by GitHub
parent 85a5fb8cf2
commit 2eba89aadc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,7 +160,7 @@ func (b *Bind) MultipartForm(out any) error {
// It supports decoding the following content types based on the Content-Type header:
// application/json, application/xml, application/x-www-form-urlencoded, multipart/form-data
// If none of the content types above are matched, it'll take a look custom binders by checking the MIMETypes() method of custom binder.
// If there're no custom binder for mşme type of body, it will return a ErrUnprocessableEntity error.
// If there're no custom binder for mime type of body, it will return a ErrUnprocessableEntity error.
func (b *Bind) Body(out any) error {
// Get content-type
ctype := utils.ToLower(utils.UnsafeString(b.ctx.Context().Request.Header.ContentType()))