forked from forks/microblog.pub
Bugfix
This commit is contained in:
parent
efc26fb2a0
commit
7e94d15827
1 changed files with 0 additions and 1 deletions
1
app.py
1
app.py
|
@ -1454,7 +1454,6 @@ def api_delete():
|
||||||
"""API endpoint to delete a Note activity."""
|
"""API endpoint to delete a Note activity."""
|
||||||
note = _user_api_get_note(from_outbox=True)
|
note = _user_api_get_note(from_outbox=True)
|
||||||
|
|
||||||
delete = note.build_delete()
|
|
||||||
delete = ap.Delete(actor=ID, object=ap.Tombstone(id=note.id).to_dict(embed=True))
|
delete = ap.Delete(actor=ID, object=ap.Tombstone(id=note.id).to_dict(embed=True))
|
||||||
|
|
||||||
delete_id = tasks.post_to_outbox(delete)
|
delete_id = tasks.post_to_outbox(delete)
|
||||||
|
|
Loading…
Reference in a new issue