fix relational

This commit is contained in:
Brian Cao committed 2022-08-26 21:29:26 -07:00
1 parent 1ba7b76072
commit b29cece7ef
3 files changed
+26 -6

No files matched your search

+4 -1
View File
@@ -13,7 +13,10 @@ export function getDatabase(database, databaseType, fallback) {
}
if (!type) {
return getDatabase(fallback);
if (fallback) {
return getDatabase(fallback);
}
return null;
}
return type;