Skip to content

Commit a902780

Browse files
Also infer Database URL for default App (#1946)
1 parent 17c9403 commit a902780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-database/src/main/java/com/google/firebase/database/FirebaseDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static FirebaseDatabase getInstance() {
5757
if (instance == null) {
5858
throw new DatabaseException("You must call FirebaseApp.initialize() first.");
5959
}
60-
return getInstance(instance, instance.getOptions().getDatabaseUrl());
60+
return getInstance(instance);
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)