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

modules/federation: Fix the /event/ response.

This commit is contained in:
Jason Volk 2018-01-24 16:33:26 -08:00
parent d56cc60b88
commit e8a7f0aeef

View file

@ -59,9 +59,17 @@ handle_get(client &client,
m::get(event_id, buffer) m::get(event_id, buffer)
}; };
const json::value pdu
{
event
};
return resource::response return resource::response
{ {
client, event client, json::members
{
{ "pdus", { &pdu, 1 } }
}
}; };
} }