Skip to content

Commit f6cdf0f

Browse files
authored
fix(storage): fix AngularFireStorage erroneous error message (#2322)
1 parent 50edd8f commit f6cdf0f

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/storage' before using AngularFireDatabase" }
38+
if (!app.storage) { throw "You must import 'firebase/storage' before using AngularFireStorage" }
3939
return app.storage(storageBucket || undefined);
4040
});
4141
}

0 commit comments

Comments
 (0)