Commit a25efc9e authored by les's avatar les
Browse files

..

parent cbaeffbc
......@@ -68,10 +68,10 @@ module.exports = {
'@context': 'https://www.w3.org/ns/activitystreams',
id: `${config.baseurl}/federation/u/${name}/outbox`,
type: 'OrderedCollection',
summary: `${user.username} outbox`,
// summary: `${user.username} outbox`,
totalItems: user.events.length,
orderedItems: user.events.map(e => e.toAP(user.username))
// first: `${config.baseurl}/federation/u/${name}/outbox?page=true`,
// orderedItems: user.events.map(e => e.toAP(user.username))
first: `${config.baseurl}/federation/u/${name}/outbox?page=true`,
// last: `${config.baseurl}/federation/u/${name}/outbox?page=true`
}
return res.json(ret)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment