mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
fix federation chart pubsub
This commit is contained in:
parent
b7b1936eb1
commit
94f294da59
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default class FederationChart extends Chart<typeof schema> {
|
|||
Followings.createQueryBuilder('following')
|
||||
.select('COUNT(DISTINCT following.followeeHost)')
|
||||
.where('following.followeeHost IS NOT NULL')
|
||||
.andWhere(`following.followerHost IN (${ pubsubSubQuery.getQuery() })`)
|
||||
.andWhere(`following.followeeHost IN (${ pubsubSubQuery.getQuery() })`)
|
||||
.setParameters(pubsubSubQuery.getParameters())
|
||||
.getRawOne()
|
||||
.then(x => parseInt(x.count, 10)),
|
||||
|
|
Loading…
Add table
Reference in a new issue