From 0371c911cba189287d5e9705d89ed5c320ddef70 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 6 Aug 2021 18:48:58 +0200 Subject: [PATCH] fix linting --- backend/src/graphql/models/GdtEntry.ts | 2 ++ backend/src/graphql/models/GdtEntryList.ts | 2 ++ backend/src/graphql/resolvers/TransactionResolver.ts | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/src/graphql/models/GdtEntry.ts b/backend/src/graphql/models/GdtEntry.ts index bc87abbc0..09ee35a70 100644 --- a/backend/src/graphql/models/GdtEntry.ts +++ b/backend/src/graphql/models/GdtEntry.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { ObjectType, Field } from 'type-graphql' export enum GdtEntryType { diff --git a/backend/src/graphql/models/GdtEntryList.ts b/backend/src/graphql/models/GdtEntryList.ts index 233d8472d..f62adeb4f 100644 --- a/backend/src/graphql/models/GdtEntryList.ts +++ b/backend/src/graphql/models/GdtEntryList.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { GdtEntry } from './GdtEntry' import { ObjectType, Field } from 'type-graphql' diff --git a/backend/src/graphql/resolvers/TransactionResolver.ts b/backend/src/graphql/resolvers/TransactionResolver.ts index a9e38bdb4..a2853f08a 100644 --- a/backend/src/graphql/resolvers/TransactionResolver.ts +++ b/backend/src/graphql/resolvers/TransactionResolver.ts @@ -10,7 +10,6 @@ export class TransactionResolver { async transactionList( @Args() { sessionId, firstPage = 1, items = 25, order = 'DESC' }: TransactionListInput, ): Promise { - const result = await apiGet( `${CONFIG.COMMUNITY_API_URL}listTransactions/${firstPage}/${items}/${order}/${sessionId}`, )