change group to api not auth

This commit is contained in:
Cipher Vance 2025-09-19 21:00:46 -05:00
parent e65b56028e
commit 9f471905b5

View file

@ -13,7 +13,7 @@ import (
func RegisterAuthRoutes(r *gin.Engine, db *gorm.DB) {
userService := services.NewUserService(db)
auth := r.Group("/auth")
auth := r.Group("/api")
{
auth.POST("/signup", signup(userService))
auth.POST("/login", login(userService))