Skip to content

Commit 37bab57

Browse files
author
rafalh
committed
Fix rapidjson response
1 parent 6a73d4d commit 37bab57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RapidJSONResponse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ std::string toJSON(service::ResolverResult&& response)
110110

111111
std::move(response).visit().visit(writer);
112112

113-
return stream.str();
113+
return buffer.GetString();
114114
}
115115

116116
std::string toJSON(Value&& response)

0 commit comments

Comments
 (0)