Skip to content
Snippets Groups Projects
Commit b67f1287 authored by syuilo's avatar syuilo
Browse files

fix federation chart pubsub

parent 5c5be7f1
No related branches found
No related tags found
No related merge requests found
......@@ -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)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment