Skip to content

Commit 5c5a41d

Browse files
committed
Fix the strorage error, closes #2313
1 parent f025786 commit 5c5a41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class AngularFireStorage {
3535

3636
this.storage = zone.runOutsideAngular(() => {
3737
const app = ɵfirebaseAppFactory(options, zone, nameOrConfig);
38-
if (!app.storage) { throw "You must import 'firebase/database' before using AngularFireDatabase" }
38+
if (!app.storage) { throw "You must import 'firebase/storage' before using AngularFireDatabase" }
3939
return app.storage(storageBucket || undefined);
4040
});
4141
}

0 commit comments

Comments
 (0)