summaryrefslogtreecommitdiffstats
path: root/api/activitypub/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/activitypub/utils.py')
-rw-r--r--api/activitypub/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/activitypub/utils.py b/api/activitypub/utils.py
index a44cbae8..3eb6030e 100644
--- a/api/activitypub/utils.py
+++ b/api/activitypub/utils.py
@@ -38,7 +38,7 @@ def full_url(path):
def embed_collection(total_items, first_page_id):
"""Helper creating a root OrderedCollection
- with a link to the first page."""
+ with a link to the first page."""
return {
"type": ap.ActivityType.ORDERED_COLLECTION.value,
"totalItems": total_items,
@@ -78,7 +78,7 @@ def activity_from_doc(item: Dict[str, Any], embed: bool = False) -> Dict[str, An
def clean_activity(activity: ObjectType) -> Dict[str, Any]:
"""Clean the activity before rendering it.
- - Remove the hidden bco and bcc field
+ - Remove the hidden bco and bcc field
"""
for field in ["bto", "bcc", "source"]:
if field in activity: