From eff8338f80df603bd7c53637bcdea25927f65a8a Mon Sep 17 00:00:00 2001 From: SouthFox Date: Mon, 4 Mar 2024 00:34:58 +0800 Subject: [PATCH] [fix] get public key type error --- app/actor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actor.py b/app/actor.py index b17b767..bb94750 100644 --- a/app/actor.py +++ b/app/actor.py @@ -80,5 +80,5 @@ async def get_public_key( models.Actor.ap_id == key_id.split("#")[0]) ) ).one_or_none() - public_key = existing_actor.ap_object["publicKey"]["publicKeyPem"] + public_key = existing_actor.ap_actor["publicKey"]["publicKeyPem"] return public_key