Switch to Litepub (#50)

* Try out litepub

* Remove the Article API
This commit is contained in:
Thomas Sileo
2019-05-11 12:19:19 +02:00
committed by GitHub
parent 1d0d5fa8b1
commit faaf1d83a2
3 changed files with 3 additions and 2 deletions

1
app.py
View File

@@ -2585,6 +2585,7 @@ def post_to_outbox(activity: ap.BaseActivity) -> str:
# Assign create a random ID
obj_id = back.random_object_id()
activity.set_id(back.activity_url(obj_id), obj_id)
back.save(Box.OUTBOX, activity)