fix roarequest query parameters

This commit is contained in:
wen ping
2022-04-20 12:09:12 +08:00
committed by page
parent 382a4ff59d
commit 1f6051b3b3
2 changed files with 6 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ CommonClient::buildRoaHttpRequest(const std::string &endpoint,
url.setHost(endpoint);
url.setPath(msg.resourcePath());
auto params = msg.headerParameters();
auto params = msg.queryParameters();
std::map<std::string, std::string> queryParams;
for (const auto &p : params) {
if (!p.second.empty())