change group to api not auth
This commit is contained in:
parent
e65b56028e
commit
9f471905b5
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ import (
|
||||||
func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) {
|
func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) {
|
||||||
userService := services.NewUserService(db)
|
userService := services.NewUserService(db)
|
||||||
|
|
||||||
auth := r.Group("/auth")
|
auth := r.Group("/api")
|
||||||
{
|
{
|
||||||
auth.POST("/signup", signup(userService))
|
auth.POST("/signup", signup(userService))
|
||||||
auth.POST("/login", login(userService))
|
auth.POST("/login", login(userService))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue