1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 07:18:52 +09:00
This commit is contained in:
syuilo 2022-07-03 19:01:08 +09:00
parent 751e655d72
commit 26c89e053d

View File

@ -54,7 +54,7 @@ export default define(meta, paramDef, async (ps) => {
]); ]);
const gotSubCount = topSubInstances.map(x => x.followersCount).reduce((a, b) => a + b, 0); const gotSubCount = topSubInstances.map(x => x.followersCount).reduce((a, b) => a + b, 0);
const gotPubCount = topSubInstances.map(x => x.followingCount).reduce((a, b) => a + b, 0); const gotPubCount = topPubInstances.map(x => x.followingCount).reduce((a, b) => a + b, 0);
return await awaitAll({ return await awaitAll({
topSubInstances: Instances.packMany(topSubInstances), topSubInstances: Instances.packMany(topSubInstances),