Typo in the ordered collections

Fixes #39
This commit is contained in:
Thomas Sileo 2018-09-11 21:49:25 +02:00
parent 665e185407
commit 1926ba92fa

View file

@ -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"])