chore: update workspace api

This commit is contained in:
Steven
2023-06-24 22:57:16 +08:00
parent a27457c4d3
commit ff963e36d7
5 changed files with 29 additions and 44 deletions

View File

@ -24,8 +24,7 @@ func (s *APIV1Service) Start(apiGroup *echo.Group, secret string) {
apiV1Group.Use(func(next echo.HandlerFunc) echo.HandlerFunc {
return JWTMiddleware(s, next, string(secret))
})
s.registerSystemRoutes(apiV1Group)
s.registerWorkspaceSettingRoutes(apiV1Group)
s.registerWorkspaceRoutes(apiV1Group)
s.registerAuthRoutes(apiV1Group, secret)
s.registerUserRoutes(apiV1Group)
s.registerShortcutRoutes(apiV1Group)