MW usage refactor

This commit is contained in:
nquidox 2026-03-21 15:21:30 +03:00
parent 229eebcf66
commit 21b54c4167
9 changed files with 98 additions and 48 deletions

View file

@ -37,7 +37,7 @@ func setupTestRouter(mockRepo Repository) *gin.Engine {
c.Next()
})
handler.RegisterRoutes(router.Group(""))
handler.RegisterRoutes(router.Group(""), nil)
return router
}