mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
chore: tweak workspace setting definition
This commit is contained in:
@ -118,7 +118,11 @@ func (s *FrontendService) registerRoutes(e *echo.Echo) {
|
||||
}
|
||||
|
||||
func (s *FrontendService) registerFileRoutes(ctx context.Context, e *echo.Echo) {
|
||||
instanceURL := s.Profile.InstanceURL
|
||||
workspaceGeneralSetting, err := s.Store.GetWorkspaceGeneralSetting(ctx)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
instanceURL := workspaceGeneralSetting.InstanceUrl
|
||||
if instanceURL == "" {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user