mirror of
https://github.com/get-drexa/drive.git
synced 2026-02-03 01:01:17 +00:00
feat: add /users/me route
This commit is contained in:
@@ -98,6 +98,7 @@ func NewServer(c Config) (*Server, error) {
|
||||
|
||||
api := app.Group("/api")
|
||||
auth.NewHTTPHandler(authService, db, cookieConfig).RegisterRoutes(api)
|
||||
user.NewHTTPHandler(userService, db, authMiddleware).RegisterRoutes(api)
|
||||
|
||||
accountRouter := account.NewHTTPHandler(accountService, authService, db, authMiddleware).RegisterRoutes(api)
|
||||
upload.NewHTTPHandler(uploadService, db).RegisterRoutes(accountRouter)
|
||||
|
||||
Reference in New Issue
Block a user