Skip to content

Commit d570a5a

Browse files
Also infer Database URL for default App
1 parent 24a07db commit d570a5a

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)