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:
parent
83d4ce49b0
commit
54e5b2273f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue