mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix typo
This commit is contained in:
parent
b4e5bda62e
commit
0cc5122a87
1 changed files with 2 additions and 2 deletions
|
@ -635,7 +635,7 @@ def simple_build_ordered_collection(col_name, data):
|
||||||
"id": BASE_URL + "/" + col_name,
|
"id": BASE_URL + "/" + col_name,
|
||||||
"totalItems": len(data),
|
"totalItems": len(data),
|
||||||
"type": ap.ActivityType.ORDERED_COLLECTION.value,
|
"type": ap.ActivityType.ORDERED_COLLECTION.value,
|
||||||
"orederedItems": data,
|
"orderedItems": data,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -657,7 +657,7 @@ def build_ordered_collection(
|
||||||
"id": BASE_URL + "/" + col_name,
|
"id": BASE_URL + "/" + col_name,
|
||||||
"totalItems": 0,
|
"totalItems": 0,
|
||||||
"type": ap.ActivityType.ORDERED_COLLECTION.value,
|
"type": ap.ActivityType.ORDERED_COLLECTION.value,
|
||||||
"orederedItems": [],
|
"oredredItems": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
start_cursor = str(data[0]["_id"])
|
start_cursor = str(data[0]["_id"])
|
||||||
|
|
Loading…
Reference in a new issue