simplify the register routes process

This commit is contained in:
timka123 committed 2025-09-21 22:53:13 +03:00
1 parent 6f633a1058
commit deddd123a3
1 file changed
+1 -2
+1 -2
View File
@@ -30,8 +30,7 @@ func main() {
TimeZone: "America/New_York",
}))
authGroup := app.Group("/api/auth")
authGroup = auth.SetupRoutes(authGroup)
auth.SetupRoutes(app.Group("/api/auth"))
log.Fatal(app.Listen(":3000"))
}