Should be kObjectType

FossilOrigin-Name: dc1be894c34649b1fe696cfec9d380b3e22c757126e93905d965bb930c5c03bb
This commit is contained in:
nekobit 2022-10-11 03:03:47 +00:00
parent 192261d374
commit 4db2562cb8

View file

@ -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);