fixed download url and removed debug comment.
This commit is contained in:
parent
9284346153
commit
64f64b82dc
@ -158,7 +158,6 @@ class LsCommand(BaseCommand):
|
||||
}
|
||||
if isinstance(folder, Folder):
|
||||
folder_api = FoldersApi(context.connection)
|
||||
print(folder.name)
|
||||
data["metadata"] = folder_api.metadata(folder.id)
|
||||
if context.is_recursive:
|
||||
sub_folders: list[dict[str, Any]] = []
|
||||
@ -188,7 +187,7 @@ class LsCommand(BaseCommand):
|
||||
# "thumbnail": file.thumbnail,
|
||||
"description": file.description,
|
||||
"metadata": file.metadata,
|
||||
"download_url": f"{context.connection.url}/v2/{file.download_url}",
|
||||
"download_url": f"{context.connection.url}/{file.download_url}",
|
||||
"created_at": file.created_at,
|
||||
"updated_at": file.updated_at,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user