We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fb4e2 commit 5ae8bb1Copy full SHA for 5ae8bb1
database/src/desktop/database_reference_desktop.cc
@@ -78,8 +78,10 @@ Database* DatabaseReferenceInternal::GetDatabase() const {
78
std::string DatabaseReferenceInternal::GetUrl() const {
79
std::stringstream url;
80
url << database_->database_url();
81
- url << '/';
82
- url << query_spec_.path.str();
+ if (!query_spec_.path.str().empty()) {
+ url << '/';
83
+ url << query_spec_.path.str();
84
+ }
85
return url.str();
86
}
87
0 commit comments