0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00

modules/m_vm_fetch: Minor clarity for result object.

This commit is contained in:
Jason Volk 2020-04-05 17:07:42 -07:00
parent c1692de5ed
commit ffdf1632f5

View file

@ -407,9 +407,14 @@ try
future.get() future.get()
}; };
const json::object &content
{
result
};
const json::array &pdus const json::array &pdus
{ {
json::object(result).get("pdus") content["pdus"]
}; };
auto opts(*eval.opts); auto opts(*eval.opts);