Skip to content

Commit 91ffb73

Browse files
committed
fix: fix a bugs
1 parent c9bee0b commit 91ffb73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func RequestLogging(config *Config) func(http.Handler) http.Handler {
2727
reserve.LastHandling(wrw)
2828
}()
2929

30-
next.ServeHTTP(wrw, r)
30+
next.ServeHTTP(wrw, reserve.request)
3131
}
3232

3333
return http.HandlerFunc(fn)

0 commit comments

Comments
 (0)