change parameter name to code

This commit is contained in:
Moriz Wahl 2022-03-20 19:00:36 +01:00
parent e9357198c0
commit 384fd12b63

View File

@ -135,7 +135,7 @@ export class TransactionLinkResolver {
@Authorized([RIGHTS.REDEEM_TRANSACTION_LINK])
@Mutation(() => Boolean)
async redeemTransactionLink(
@Arg('code', () => String) id: string,
@Arg('code', () => String) code: string,
@Ctx() context: any,
): Promise<boolean> {
const { user } = context