merge: fix incorrect variable name (!528)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/528 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
This commit is contained in:
commit
0bdfe63a02
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ export class MastoConverters {
|
|||
display_name: user.name ?? user.username,
|
||||
locked: user.isLocked,
|
||||
created_at: this.idService.parse(user.id).date.toISOString(),
|
||||
followers_count: profile?.ffVisibility === 'public' ? user.followersCount : 0,
|
||||
following_count: profile?.ffVisibility === 'public' ? user.followingCount : 0,
|
||||
followers_count: profile?.followersVisibility === 'public' ? user.followersCount : 0,
|
||||
following_count: profile?.followingVisibility === 'public' ? user.followingCount : 0,
|
||||
statuses_count: user.notesCount,
|
||||
note: profile?.description ?? '',
|
||||
url: user.uri ?? acctUrl,
|
||||
|
|
Loading…
Reference in a new issue