🎨 add helper functions and general cleanup
This commit is contained in:
@ -44,7 +44,6 @@ func New() *gin.Engine {
|
||||
{
|
||||
// public routes
|
||||
v1.POST("/login", auth.LoginHandler)
|
||||
v1.GET("/login", api.Helloworld)
|
||||
|
||||
// Protected Routes
|
||||
authenticated := v1.Group("/").Use(middleware.Authenticate())
|
||||
|
Reference in New Issue
Block a user