From 6ba5d4b63511009f3c70aa2d98df665f46994f5f Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 21 Feb 2024 15:41:12 +0100 Subject: [PATCH] fix linting --- backend/src/graphql/resolver/CommunityResolver.test.ts | 7 ++++++- backend/src/graphql/resolver/CommunityResolver.ts | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/backend/src/graphql/resolver/CommunityResolver.test.ts b/backend/src/graphql/resolver/CommunityResolver.test.ts index 6b4da54cf..25c5bfcf7 100644 --- a/backend/src/graphql/resolver/CommunityResolver.test.ts +++ b/backend/src/graphql/resolver/CommunityResolver.test.ts @@ -17,7 +17,12 @@ import { logger, i18n as localization } from '@test/testSetup' import { userFactory } from '@/seeds/factory/user' import { login, updateHomeCommunityQuery } from '@/seeds/graphql/mutations' -import { getCommunities, communitiesQuery, getHomeCommunityQuery, getCommunityByIdentifierQuery } from '@/seeds/graphql/queries' +import { + getCommunities, + communitiesQuery, + getHomeCommunityQuery, + getCommunityByIdentifierQuery, +} from '@/seeds/graphql/queries' import { peterLustig } from '@/seeds/users/peter-lustig' import { getCommunityByUuid } from './util/communities' diff --git a/backend/src/graphql/resolver/CommunityResolver.ts b/backend/src/graphql/resolver/CommunityResolver.ts index 951a8dcb0..eb320586e 100644 --- a/backend/src/graphql/resolver/CommunityResolver.ts +++ b/backend/src/graphql/resolver/CommunityResolver.ts @@ -43,7 +43,9 @@ export class CommunityResolver { @Authorized([RIGHTS.COMMUNITY_BY_IDENTIFIER]) @Query(() => Community) - async communityByIdentifier(@Arg('communityIdentifier') communityIdentifier: string): Promise { + async communityByIdentifier( + @Arg('communityIdentifier') communityIdentifier: string, + ): Promise { const community = await getCommunityByIdentifier(communityIdentifier) if (!community) { throw new LogError('community not found', communityIdentifier)