Skip to content

Commit

Permalink
chore: rebase to echo v5
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jan 3, 2025
1 parent 756b81b commit d8e7cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ func NewWithConfig(logger *slog.Logger, config Config) echo.MiddlewareFunc {
query := req.URL.RawQuery

params := map[string]string{}
for i, k := range c.ParamNames() {
params[k] = c.ParamValues()[i]
for _, p := range c.PathParams() {
params[p.Name] = p.Value
}

// dump request body
Expand Down

0 comments on commit d8e7cc1

Please sign in to comment.