diff --git a/app/utils/precheck.py b/app/utils/precheck.py index bfd9911..d499360 100644 --- a/app/utils/precheck.py +++ b/app/utils/precheck.py @@ -61,7 +61,7 @@ async def inbox_prechecker( _actor = await fetch_actor(db_session, actor_id) try: - pubkey = _actor["publicKey"]["publicKeyPem"] + pubkey = _actor.ap_actor["publicKey"]["publicKeyPem"] except json.JSONDecodeError: raise ValueError except KeyError: