Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correct setStorage docs since the method does not return a Promise an…
…ymore
  • Loading branch information
yn5 committed Sep 23, 2016
commit 9ff95370493eaeb6476e2f5a0f382be6e9a4034e
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,7 @@ In order to store anything on Firebase, we need to set the storage url provided
The `setStorageUrl()` method accepts a single parameter: your root storage url.

```javascript
firestack.setStorageUrl(`gs://${config.firebase.storageBucket}`)
.then(() => console.log('The storage url has been set'))
.catch(() => console.error('This is weird: something happened...'))
firestack.storage.setStorageUrl(`gs://${config.firebase.storageBucket}`)
```

If the `storageBucket` key is passed as a configuration option, this method is automatically called by default.
Expand Down