From e6c8fbed59f360155f560fdd77f0c00a27683821 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Thu, 7 Oct 2021 16:32:17 +0200 Subject: [PATCH] fix linting --- backend/src/graphql/resolver/UserResolver.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/backend/src/graphql/resolver/UserResolver.ts b/backend/src/graphql/resolver/UserResolver.ts index a48b44f48..bbb609d40 100644 --- a/backend/src/graphql/resolver/UserResolver.ts +++ b/backend/src/graphql/resolver/UserResolver.ts @@ -244,14 +244,11 @@ export class UserResolver { } @Query(() => Boolean) - async hasElopage(@Ctx() context: any): Promise { - const result = await apiGet( - CONFIG.LOGIN_API_URL + 'hasElopage?session_id=' + context.sessionId, - ) + async hasElopage(@Ctx() context: any): Promise { + const result = await apiGet(CONFIG.LOGIN_API_URL + 'hasElopage?session_id=' + context.sessionId) if (!result.success) { throw new Error(result.data) } return result.data.hasElopage } - -} \ No newline at end of file +}