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

Commit

Permalink
fix: correctly propagate the firebase app name (#1122)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mctavish committed Dec 15, 2022
1 parent cb3ce24 commit 443e902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agent/firebase-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ export class FirebaseController implements Controller {
{
databaseURL: databaseUrl,
},
'cdbg'
FIREBASE_APP_NAME
);
}

const db = firebase.database();
const db = firebase.database(app);

// Test the connection by reading the schema version.
try {
Expand Down

0 comments on commit 443e902

Please sign in to comment.