mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 08:06:51 +02:00
fix: publish id with user outbox, fixes #13478
This commit is contained in:
@@ -202,6 +202,7 @@ Controller.getOutbox = async (req, res) => {
|
|||||||
|
|
||||||
res.status(200).json({
|
res.status(200).json({
|
||||||
'@context': 'https://www.w3.org/ns/activitystreams',
|
'@context': 'https://www.w3.org/ns/activitystreams',
|
||||||
|
id: `${nconf.get('url')}/uid/${uid}/outbox`,
|
||||||
type: paginate ? 'OrderedCollectionPage' : 'OrderedCollection',
|
type: paginate ? 'OrderedCollectionPage' : 'OrderedCollection',
|
||||||
totalItems,
|
totalItems,
|
||||||
...(prev && { prev }),
|
...(prev && { prev }),
|
||||||
|
|||||||
Reference in New Issue
Block a user