fix typo on deleted object ap_type

This commit is contained in:
Sam 2022-11-26 11:08:14 +01:00 committed by Thomas Sileo
parent 441e3d90b1
commit 71a4ea2425

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(