From cda9ee196d5249a8f74f3bef8d3b270bc58ec4b5 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 11 Mar 2022 12:44:32 +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 e43848a97..b0e197a68 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 = 0, + @Arg('offset', { nullable: true }) offset: number = 0, @Ctx() context: any, ): Promise { const userRepository = getCustomRepository(UserRepository)