2
0
mirror of synced 2025-01-26 22:29:22 +00:00

[core] fix app name issue

This commit is contained in:
Salakar 2017-08-23 11:18:51 +01:00
parent 71fc2f1af7
commit a0f638efa1

View File

@ -221,7 +221,7 @@ class FirebaseCore {
// default to the 'DEFAULT' app if no arg provided - will throw an error
// if default app not initialized
else if (!_app) _app = this.app(INTERNALS.STRINGS.DEFAULT_APP_NAME);
return INTERNALS.APPS[_app.name][namespace](_app);
return INTERNALS.APPS[_app._name][namespace](_app);
};
Object.assign(getNamespace, statics, {