diff --git a/backend/src/index.ts b/backend/src/index.ts index 80d6d5d7e..283554a9d 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -20,7 +20,7 @@ async function main() { console.log(`GraphIQL available at http://localhost:${CONFIG.PORT}`) } }) - void startValidateCommunities(Number(CONFIG.FEDERATION_VALIDATE_COMMUNITY_TIMER)) + await startValidateCommunities(Number(CONFIG.FEDERATION_VALIDATE_COMMUNITY_TIMER)) } main().catch((e) => { diff --git a/backend/src/seeds/factory/user.ts b/backend/src/seeds/factory/user.ts index 7904c61b2..3cae22f71 100644 --- a/backend/src/seeds/factory/user.ts +++ b/backend/src/seeds/factory/user.ts @@ -13,7 +13,7 @@ export const userFactory = async ( user: UserInterface, ): Promise => { const { mutate } = client - + const homeCom = await writeHomeCommunityEntry() // console.log('call createUser with', JSON.stringify(user, null, 2)) const response = await mutate({ mutation: createUser, variables: user })