From 1926ba92fa03c016ff3eab21ca1dd87bd8edb7ee Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 11 Sep 2018 21:49:25 +0200 Subject: [PATCH] Typo in the ordered collections Fixes #39 --- activitypub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activitypub.py b/activitypub.py index c53aaa8..51557fa 100644 --- a/activitypub.py +++ b/activitypub.py @@ -654,14 +654,14 @@ def build_ordered_collection( "id": BASE_URL + "/" + col_name + "?cursor=" + cursor, "partOf": BASE_URL + "/" + col_name, "totalItems": 0, - "oredredItems": [], + "orderedItems": [], } return { "@context": ap.COLLECTION_CTX, "id": BASE_URL + "/" + col_name, "totalItems": 0, "type": ap.ActivityType.ORDERED_COLLECTION.value, - "oredredItems": [], + "orderedItems": [], } start_cursor = str(data[0]["_id"])