Skip to content

Commit

Permalink
fix: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
laynax committed Aug 22, 2024
1 parent 8ae24af commit 54c1943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/middleware/request_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewRequestIDMiddleware() RequestIDMiddleware {
}

// Handler implements the middlewares.Handlerer interface. Returns an
// http.Hanlder to inject the RequestID.
// http.Handler to inject the RequestID.
func (rm RequestIDMiddleware) Handler(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
requestID := r.Header.Get(RequestIDHeader)
Expand Down

0 comments on commit 54c1943

Please sign in to comment.