Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit 443e902

Browse files
authored
fix: correctly propagate the firebase app name (#1122)
The firebase app name is not being correctly set and in at least some cases will prevent the debug agent from connecting to the firebase database.
1 parent cb3ce24 commit 443e902

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent/firebase-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ export class FirebaseController implements Controller {
9898
{
9999
databaseURL: databaseUrl,
100100
},
101-
'cdbg'
101+
FIREBASE_APP_NAME
102102
);
103103
}
104104

105-
const db = firebase.database();
105+
const db = firebase.database(app);
106106

107107
// Test the connection by reading the schema version.
108108
try {

0 commit comments

Comments
 (0)