Skip to content

Commit e991f74

Browse files
committed
update example.
1 parent 14a798a commit e991f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/storage/v0/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export class File {
327327
*
328328
* const exampleBucket = bucket('exampleBucket').for('reading');
329329
*
330-
* const exists = await storage.bucket("my-bucket").file("my-item").exists();
330+
* const exists = await exampleBucket.file("my-item").exists();
331331
* ```
332332
*/
333333
public async exists(): Promise<boolean> {

0 commit comments

Comments
 (0)