diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go index ce6f82fbb..301bde2ec 100644 --- a/kernel/api/workspace.go +++ b/kernel/api/workspace.go @@ -134,6 +134,7 @@ func getMobileWorkspaces(c *gin.Context) { return } + ret.Data = []string{} var paths []string for _, dir := range dirs { if dir.IsDir() {