mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
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."""
|
||||
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_id = tasks.post_to_outbox(delete)
|
||||
|
|
Loading…
Reference in a new issue