Skip to content

Commit

Permalink
♻️ revert code to use c.app.getString
Browse files Browse the repository at this point in the history
  • Loading branch information
Khúc Ngọc Huy committed Sep 25, 2023
1 parent c893a4d commit 7453abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ func (c *Ctx) parseFormBody(args *fasthttp.Args, out interface{}) (map[string][]
return
}

k := string(key)
v := string(val)
k := c.app.getString(key)
v := c.app.getString(val)

if strings.Contains(k, "[") {
k, err = parseParamSquareBrackets(k)
Expand Down

0 comments on commit 7453abc

Please sign in to comment.