From b67f1287c6d96757161dece7a4045ad3070f9d98 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 4 Mar 2022 15:32:50 +0900 Subject: [PATCH] fix federation chart pubsub --- packages/backend/src/services/chart/charts/federation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/chart/charts/federation.ts b/packages/backend/src/services/chart/charts/federation.ts index 13aa6c584e..4fbd297dbf 100644 --- a/packages/backend/src/services/chart/charts/federation.ts +++ b/packages/backend/src/services/chart/charts/federation.ts @@ -35,7 +35,7 @@ export default class FederationChart extends Chart { 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)),