From fed6c1fa8f55961aad0f87776957418482699ee5 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sun, 19 Mar 2023 13:05:16 +0800 Subject: [PATCH] fix/precheck delete actor id --- app/utils/precheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/precheck.py b/app/utils/precheck.py index 69a7efa..612a650 100644 --- a/app/utils/precheck.py +++ b/app/utils/precheck.py @@ -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()