fix incorrect variable name

This commit is contained in:
Marie 2024-05-30 13:03:54 +00:00 committed by Amelia Yukii
parent 5f4c7af4d1
commit d7bd112b37

View file

@ -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,