Skip to content

Commit 358b042

Browse files
committed
fix(sample): using wrong member itr for variables
1 parent 7cee86d commit 358b042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/proxy/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ int main()
161161
auto variables = (variablesItr != payload.end()
162162
&& variablesItr->second.type()
163163
== response::Type::String)
164-
? response::parseJSON(operationNameItr->second
165-
.get<response::StringType>())
164+
? response::parseJSON(
165+
variablesItr->second.get<response::StringType>())
166166
: response::Value {};
167167

168168
msg = http::response<http::string_body> { http::status::ok,

0 commit comments

Comments
 (0)