mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
parent
665e185407
commit
1926ba92fa
1 changed files with 2 additions and 2 deletions
|
@ -654,14 +654,14 @@ def build_ordered_collection(
|
||||||
"id": BASE_URL + "/" + col_name + "?cursor=" + cursor,
|
"id": BASE_URL + "/" + col_name + "?cursor=" + cursor,
|
||||||
"partOf": BASE_URL + "/" + col_name,
|
"partOf": BASE_URL + "/" + col_name,
|
||||||
"totalItems": 0,
|
"totalItems": 0,
|
||||||
"oredredItems": [],
|
"orderedItems": [],
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
"@context": ap.COLLECTION_CTX,
|
"@context": ap.COLLECTION_CTX,
|
||||||
"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,
|
||||||
"oredredItems": [],
|
"orderedItems": [],
|
||||||
}
|
}
|
||||||
|
|
||||||
start_cursor = str(data[0]["_id"])
|
start_cursor = str(data[0]["_id"])
|
||||||
|
|
Loading…
Reference in a new issue