Skip to content

Commit

Permalink
Fix AP actor follows count
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Apr 25, 2024
1 parent 9244620 commit 47ae6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/models/actor/actor-follow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ export class ActorFollowModel extends SequelizeModel<ActorFollowModel> {
data: followers.map(f => ({ selectionUrl: f.selectionUrl, createdAt: f.createdAt })) as { selectionUrl: string, createdAt: string }[],

total: selectTotal
? parseInt(resDataTotal?.dataTotal?.[0]?.total || 0, 10)
? parseInt(resDataTotal?.[0]?.total || 0, 10)
: undefined
}
}
Expand Down

0 comments on commit 47ae6e8

Please sign in to comment.