fix/precheck pubkey
This commit is contained in:
parent
3c9bf07566
commit
702ee4df97
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ async def inbox_prechecker(
|
||||||
_actor = await fetch_actor(db_session, actor_id)
|
_actor = await fetch_actor(db_session, actor_id)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
pubkey = _actor["publicKey"]["publicKeyPem"]
|
pubkey = _actor.ap_actor["publicKey"]["publicKeyPem"]
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Reference in a new issue