0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 07:20:55 +01:00

modules/console: Add a parse alternative to fed event noparse argument.

This commit is contained in:
Jason Volk 2019-04-24 21:29:33 -07:00
parent 83d4ce49b0
commit 54e5b2273f

View file

@ -11538,6 +11538,12 @@ console_cmd__fed__event(opt &out, const string_view &line)
return true; return true;
} }
if(has(op, "parse"))
{
out << json::object{request.in.content} << std::endl;
return true;
}
const json::object &response const json::object &response
{ {
request request