From 4db2562cb8d5b89c54d307d78b38bedf0302b827 Mon Sep 17 00:00:00 2001 From: nekobit Date: Tue, 11 Oct 2022 03:03:47 +0000 Subject: [PATCH] Should be kObjectType FossilOrigin-Name: dc1be894c34649b1fe696cfec9d380b3e22c757126e93905d965bb930c5c03bb --- src/protocol/activitypub/activitypub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/activitypub/activitypub.cpp b/src/protocol/activitypub/activitypub.cpp index 58cec25..1ab93eb 100644 --- a/src/protocol/activitypub/activitypub.cpp +++ b/src/protocol/activitypub/activitypub.cpp @@ -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);