Added /refresh endpoint and make some refactor again
This commit is contained in:
@@ -21,5 +21,6 @@ func SetupRouter(s *Server) {
|
||||
|
||||
s.Group("/v1").
|
||||
Post("/login", s.LoginHandlerFn).
|
||||
Post("/refresh", s.RefreshHandlerFn).
|
||||
Post("/register", s.RegisterHandlerFn)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user