From 0982e4fa4fc0dd6d039f6206f1c7dff0243768d6 Mon Sep 17 00:00:00 2001 From: einhorn_b Date: Thu, 11 Jan 2024 15:08:12 +0100 Subject: [PATCH] never mind --- backend/src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 4961e880d..86f78326d 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -5,8 +5,6 @@ import { createServer } from './server/createServer' async function main() { const { app } = await createServer() - void startValidateCommunities(Number(CONFIG.FEDERATION_VALIDATE_COMMUNITY_TIMER)) - // app listen don't return as long as the express server is running app.listen(CONFIG.PORT, () => { // eslint-disable-next-line no-console console.log(`Server is running at http://localhost:${CONFIG.PORT}`) @@ -15,6 +13,7 @@ async function main() { console.log(`GraphIQL available at http://localhost:${CONFIG.PORT}`) } }) + void startValidateCommunities(Number(CONFIG.FEDERATION_VALIDATE_COMMUNITY_TIMER)) } main().catch((e) => {