change to api only handler and remove unused files, bring more structure
This commit is contained in:
@@ -106,7 +106,7 @@ func TestLoginHandler(t *testing.T) {
|
||||
|
||||
r := gin.Default()
|
||||
|
||||
SetMiddlewareLogger(r, aH.GetLogger())
|
||||
aH.SetMiddlewareLogger(r)
|
||||
|
||||
r.POST("/login", aH.Login)
|
||||
r.POST("/login/refresh", aH.Refresh)
|
||||
|
||||
Reference in New Issue
Block a user