Skip to content

Commit dd35836

Browse files
authored
chore: update docs for download method (#139)
1 parent 9b7b2df commit dd35836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/StorageFileApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ export default class StorageFileApi {
356356
}
357357

358358
/**
359-
* Downloads a file.
359+
* Downloads a file from a private bucket. For public buckets, make a request to the URL returned from `getPublicUrl` instead.
360360
*
361361
* @param path The full path and file name of the file to be downloaded. For example `folder/image.png`.
362362
* @param options.transform Transform the asset before serving it to the client.

0 commit comments

Comments
 (0)