mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #12654, incorrect location of sharedInbox property
This commit is contained in:
@@ -175,7 +175,6 @@ Mocks.actors.user = async (uid) => {
|
||||
following: `${nconf.get('url')}/uid/${uid}/following`,
|
||||
inbox: `${nconf.get('url')}/uid/${uid}/inbox`,
|
||||
outbox: `${nconf.get('url')}/uid/${uid}/outbox`,
|
||||
sharedInbox: `${nconf.get('url')}/inbox`,
|
||||
|
||||
type: 'Person',
|
||||
name: username !== displayname ? fullname : username, // displayname is escaped, fullname is not
|
||||
@@ -189,6 +188,10 @@ Mocks.actors.user = async (uid) => {
|
||||
owner: `${nconf.get('url')}/uid/${uid}`,
|
||||
publicKeyPem: publicKey,
|
||||
},
|
||||
|
||||
endpoints: {
|
||||
sharedInbox: `${nconf.get('url')}/inbox`,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -218,7 +221,6 @@ Mocks.actors.category = async (cid) => {
|
||||
// following: ,
|
||||
inbox: `${nconf.get('url')}/category/${cid}/inbox`,
|
||||
outbox: `${nconf.get('url')}/category/${cid}/outbox`,
|
||||
sharedInbox: `${nconf.get('url')}/inbox`,
|
||||
|
||||
type: 'Group',
|
||||
name,
|
||||
@@ -231,6 +233,10 @@ Mocks.actors.category = async (cid) => {
|
||||
owner: `${nconf.get('url')}/category/${cid}`,
|
||||
publicKeyPem: publicKey,
|
||||
},
|
||||
|
||||
endpoints: {
|
||||
sharedInbox: `${nconf.get('url')}/inbox`,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user