mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix: save followersUrl to remote user hashes
This commit is contained in:
@@ -26,7 +26,7 @@ Mocks.profile = async (actors) => {
|
|||||||
const uid = actor.id;
|
const uid = actor.id;
|
||||||
let {
|
let {
|
||||||
url, preferredUsername, published, icon, image,
|
url, preferredUsername, published, icon, image,
|
||||||
name, summary, followerCount, followingCount,
|
name, summary, followers, followerCount, followingCount,
|
||||||
postcount, inbox, endpoints,
|
postcount, inbox, endpoints,
|
||||||
} = actor;
|
} = actor;
|
||||||
preferredUsername = preferredUsername || slugify(name);
|
preferredUsername = preferredUsername || slugify(name);
|
||||||
@@ -62,6 +62,7 @@ Mocks.profile = async (actors) => {
|
|||||||
url,
|
url,
|
||||||
inbox,
|
inbox,
|
||||||
sharedInbox: endpoints ? endpoints.sharedInbox : null,
|
sharedInbox: endpoints ? endpoints.sharedInbox : null,
|
||||||
|
followersUrl: followers,
|
||||||
};
|
};
|
||||||
|
|
||||||
return payload;
|
return payload;
|
||||||
|
|||||||
Reference in New Issue
Block a user