diff --git a/docs/storage/usage/index.md b/docs/storage/usage/index.md index 0f51bc5f07..0bda3a1790 100644 --- a/docs/storage/usage/index.md +++ b/docs/storage/usage/index.md @@ -131,7 +131,7 @@ need to call the `getDownloadURL` method on a reference: ```js import storage from '@react-native-firebase/storage'; -const url = await storage.ref('images/profile-1.png').getDownloadURL(); +const url = await storage().ref('images/profile-1.png').getDownloadURL(); ``` > Images uploaded manually via the Firebase Console automatically generate a download URL.