From fed268afb6b339d0197c16be0d60ae00d72b154e Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 11 Mar 2022 12:44:55 +0100 Subject: [PATCH] tpye number for offset arg --- backend/src/graphql/resolver/TransactionLinkResolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/graphql/resolver/TransactionLinkResolver.ts b/backend/src/graphql/resolver/TransactionLinkResolver.ts index b0e197a68..e43848a97 100644 --- a/backend/src/graphql/resolver/TransactionLinkResolver.ts +++ b/backend/src/graphql/resolver/TransactionLinkResolver.ts @@ -126,7 +126,7 @@ export class TransactionLinkResolver { @Authorized([RIGHTS.LIST_TRANSACTION_LINKS]) @Query(() => [TransactionLink]) async listTransactionLinks( - @Arg('offset', { nullable: true }) offset: number = 0, + @Arg('offset', { nullable: true }) offset = 0, @Ctx() context: any, ): Promise { const userRepository = getCustomRepository(UserRepository)