diff --git a/packages/backend/src/server/api/index.ts b/packages/backend/src/server/api/index.ts index 37bcfffec8..8701d0a707 100644 --- a/packages/backend/src/server/api/index.ts +++ b/packages/backend/src/server/api/index.ts @@ -91,6 +91,9 @@ router.use(twitter.routes()); router.get('/v1/instance/peers', async ctx => { const instances = await Instances.find({ select: ['host'], + where: { + isSuspended: false, + }, }); ctx.body = instances.map(instance => instance.host);