mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
tpye number for offset arg
This commit is contained in:
parent
cda9ee196d
commit
fed268afb6
@ -126,7 +126,7 @@ export class TransactionLinkResolver {
|
|||||||
@Authorized([RIGHTS.LIST_TRANSACTION_LINKS])
|
@Authorized([RIGHTS.LIST_TRANSACTION_LINKS])
|
||||||
@Query(() => [TransactionLink])
|
@Query(() => [TransactionLink])
|
||||||
async listTransactionLinks(
|
async listTransactionLinks(
|
||||||
@Arg('offset', { nullable: true }) offset: number = 0,
|
@Arg('offset', { nullable: true }) offset = 0,
|
||||||
@Ctx() context: any,
|
@Ctx() context: any,
|
||||||
): Promise<TransactionLink[]> {
|
): Promise<TransactionLink[]> {
|
||||||
const userRepository = getCustomRepository(UserRepository)
|
const userRepository = getCustomRepository(UserRepository)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user