mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +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;
|
||||
let {
|
||||
url, preferredUsername, published, icon, image,
|
||||
name, summary, followerCount, followingCount,
|
||||
name, summary, followers, followerCount, followingCount,
|
||||
postcount, inbox, endpoints,
|
||||
} = actor;
|
||||
preferredUsername = preferredUsername || slugify(name);
|
||||
@@ -62,6 +62,7 @@ Mocks.profile = async (actors) => {
|
||||
url,
|
||||
inbox,
|
||||
sharedInbox: endpoints ? endpoints.sharedInbox : null,
|
||||
followersUrl: followers,
|
||||
};
|
||||
|
||||
return payload;
|
||||
|
||||
Reference in New Issue
Block a user