mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-06 22:22:45 +08:00
Added extension and parentPath to files responses
This commit is contained in:
@@ -455,7 +455,10 @@ func (s *WorkflowServer) ListFiles(ctx context.Context, req *api.ListFilesReques
|
||||
}
|
||||
}
|
||||
|
||||
parentPath := v1.FilePathToParentPath(req.Path)
|
||||
|
||||
return &api.ListFilesResponse{
|
||||
Files: apiFiles,
|
||||
Files: apiFiles,
|
||||
ParentPath: parentPath,
|
||||
}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user