summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer/ordered-collection.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/renderer/ordered-collection.ts')
-rw-r--r--src/remote/activitypub/renderer/ordered-collection.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/ordered-collection.ts b/src/remote/activitypub/renderer/ordered-collection.ts
index 5461005983..68870a0ecd 100644
--- a/src/remote/activitypub/renderer/ordered-collection.ts
+++ b/src/remote/activitypub/renderer/ordered-collection.ts
@@ -6,7 +6,7 @@
* @param last URL of last page (optional)
* @param orderedItems attached objects (optional)
*/
-export default function(id: string, totalItems: any, first?: string, last?: string, orderedItems?: object) {
+export default function(id: string | null, totalItems: any, first?: string, last?: string, orderedItems?: object) {
const page: any = {
id,
type: 'OrderedCollection',