Skip to content

Commit

Permalink
fix request headers
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Apr 4, 2024
1 parent 34b8779 commit 68d7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func NewWithConfig(logger *slog.Logger, config Config) echo.MiddlewareFunc {
kv = append(kv, slog.Any(k, v))
}

responseAttributes = append(responseAttributes, slog.Group("header", kv...))
requestAttributes = append(requestAttributes, slog.Group("header", kv...))
}

if config.WithUserAgent {
Expand Down

0 comments on commit 68d7091

Please sign in to comment.