Skip to content

Commit 87d7e0c

Browse files
committed
updated REDME.MD support for Cloudinary
1 parent 81d5fd1 commit 87d7e0c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ node_storage_manager allows you to switch between clients easily without reconfi
121121

122122
async function download(bucketName) {
123123
// Creates the new bucket
124-
await StorageInstance.download(bucketName, 'filepath', 'image or video');
125-
console.log(`file downloaded`);
124+
let result = await StorageInstance.download(bucketName, 'filepath', 'image or video');
125+
console.log(result);
126+
// This way you can get all data returned from Cloudinary Client e.g result.url e.t.c
126127
}
127128
```
128129

0 commit comments

Comments
 (0)