Fix AP actor follows count
This commit is contained in:
parent
9244620f37
commit
47ae6e880d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue