0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 05:58:56 +02:00

ircd:Ⓜ️:fed::keys::claim: Fix missing content (regression 55ffdddc6a).

This commit is contained in:
Jason Volk 2020-03-31 18:06:36 -07:00
parent 746689086a
commit 9ac34573e5

View file

@ -921,6 +921,9 @@ ircd::m::fed::user::keys::claim::claim(const json::object &content,
{
assert(!!opts.remote);
assert(!defined(json::get<"content"_>(opts.request)));
json::get<"content"_>(opts.request) = content;
if(likely(!defined(json::get<"method"_>(opts.request))))
json::get<"method"_>(opts.request) = "POST";