forked from forks/microblog.pub
fix typo on deleted object ap_type
This commit is contained in:
parent
441e3d90b1
commit
71a4ea2425
1 changed files with 1 additions and 1 deletions
|
@ -1379,7 +1379,7 @@ async def _revert_side_effect_for_deleted_object(
|
||||||
.values(likes_count=likes_count - 1)
|
.values(likes_count=likes_count - 1)
|
||||||
)
|
)
|
||||||
elif (
|
elif (
|
||||||
deleted_ap_object.ap_type == "Annouce"
|
deleted_ap_object.ap_type == "Announce"
|
||||||
and deleted_ap_object.activity_object_ap_id
|
and deleted_ap_object.activity_object_ap_id
|
||||||
):
|
):
|
||||||
related_object = await get_outbox_object_by_ap_id(
|
related_object = await get_outbox_object_by_ap_id(
|
||||||
|
|
Loading…
Reference in a new issue