mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-21 20:49:24 +08:00
Added directory to api conversion
This commit is contained in:
@@ -448,6 +448,7 @@ func (s *WorkflowServer) ListFiles(ctx context.Context, req *api.ListFilesReques
|
||||
apiFiles[i] = &api.File{
|
||||
Path: file.Path,
|
||||
Name: file.Name,
|
||||
Directory: file.Directory,
|
||||
Size: file.Size,
|
||||
ContentType: file.ContentType,
|
||||
LastModified: file.LastModified.UTC().Format(time.RFC3339),
|
||||
|
Reference in New Issue
Block a user