Small rename

This commit is contained in:
qowevisa 2024-08-03 00:07:14 +03:00
parent 0ffdeb7114
commit cf09928a39

View File

@ -36,9 +36,9 @@ func main() {
docs.SwaggerInfo.BasePath = "/api" docs.SwaggerInfo.BasePath = "/api"
// Routes defined in the routes package // Routes defined in the routes package
routes := r.Group("/api") api := r.Group("/api")
{ {
userRoutes := routes.Group("/user") userRoutes := api.Group("/user")
{ {
userRoutes.POST("/register", handlers.UserRegister) userRoutes.POST("/register", handlers.UserRegister)
userRoutes.POST("/login", handlers.UserLogin) userRoutes.POST("/login", handlers.UserLogin)