diff --git a/mdrsclient/commands/ls.py b/mdrsclient/commands/ls.py index 79f0906..86cbcf0 100644 --- a/mdrsclient/commands/ls.py +++ b/mdrsclient/commands/ls.py @@ -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, }