Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/usage/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ This method returns a `unicode` string containing the shared link URL.
<!-- sample get_files_id get_shared_link -->
```python
file_id = '11111'
shared_link = client.file(file_id).shared_link
shared_link = client.file(file_id).get().shared_link
url = shared_link['download_url']
```

Expand Down
4 changes: 2 additions & 2 deletions docs/usage/folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ This method returns a `unicode` string containing the shared link URL.
<!-- sample get_folders_id get_shared_link -->
```python
folder_id = '11111'
shared_link = client.folder(folder_id).shared_link
shared_link = client.folder(folder_id).get().shared_link
url = shared_link['download_url']
```

Expand Down Expand Up @@ -505,4 +505,4 @@ with the ID of the folder lock.
client.folder_lock(folder_lock_id='22222').delete()
```

[delete_folder_lock]: https://box-python-sdk.readthedocs.io/en/latest/boxsdk.object.html#boxsdk.object.folder_lock.FolderLock
[delete_folder_lock]: https://box-python-sdk.readthedocs.io/en/latest/boxsdk.object.html#boxsdk.object.folder_lock.FolderLock