diff --git a/src/connection.cpp b/src/connection.cpp index 4046d6c..662c333 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -42,7 +42,7 @@ answer_type Connection::get(const endpoint_variant &endpoint, return string(_baseuri) += API{std::get(endpoint)}.to_string_view(); } - return string(std::get(endpoint)); + return string(_baseuri) += std::get(endpoint); }()}; return make_request(http_method::GET, uri, parameters);