🎨 add helper functions and general cleanup

This commit is contained in:
2024-01-24 11:04:43 +01:00
parent 57722116d6
commit 71ea9cac18
7 changed files with 53 additions and 42 deletions

View File

@ -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())