Should be kObjectType
FossilOrigin-Name: dc1be894c34649b1fe696cfec9d380b3e22c757126e93905d965bb930c5c03bb
This commit is contained in:
parent
192261d374
commit
4db2562cb8
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ HTTP::Response Route::ActivityPub::user(std::any& args, const HTTP::Request& req
|
|||
// Keys
|
||||
if (!user.key.empty())
|
||||
{
|
||||
rjson::Value public_key(rjson::kArrayType);
|
||||
rjson::Value public_key(rjson::kObjectType);
|
||||
public_key.AddMember("id", user_url + "#main-key", a);
|
||||
public_key.AddMember("owner", user_url, a);
|
||||
|
||||
|
|
Loading…
Reference in a new issue