fix typo on deleted object ap_type

main
Sam 2022-11-26 11:08:14 +01:00 committed by Thomas Sileo
parent 441e3d90b1
commit 71a4ea2425
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ async def _revert_side_effect_for_deleted_object(
.values(likes_count=likes_count - 1)
)
elif (
deleted_ap_object.ap_type == "Annouce"
deleted_ap_object.ap_type == "Announce"
and deleted_ap_object.activity_object_ap_id
):
related_object = await get_outbox_object_by_ap_id(