Added extension and parentPath to files responses

This commit is contained in:
Andrey Melnikov
2020-02-29 11:31:41 -08:00
parent 11207725b7
commit 202e6c6613
6 changed files with 167 additions and 106 deletions

View File

@@ -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
}