fix: adjust log middleware

This commit is contained in:
engigu
2024-01-02 18:09:46 +08:00
parent 20750bc33a
commit 108ea1411b
-1
View File
@@ -25,7 +25,6 @@ func LogMiddleware(notLogged ...string) gin.HandlerFunc {
if length := len(notLogged); length > 0 {
skip = make(map[string]struct{}, length)
for _, p := range notLogged {
skip[p] = struct{}{}
}