fix/precheck delete actor id

This commit is contained in:
SouthFox 2023-03-19 13:05:16 +08:00
parent a03ecede17
commit fed6c1fa8f

View file

@ -42,7 +42,7 @@ async def inbox_prechecker(
and not (
await db_session.scalars(
select(models.Actor).where(
models.Actor.ap_id == payload["id"],
models.Actor.ap_id == payload["actor"],
)
)
).one_or_none()