mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-28 21:25:32 +00:00
correct type of validUntil for createRedeemJwt
This commit is contained in:
parent
5edf05c61d
commit
a2a026006a
@ -405,7 +405,7 @@ export class TransactionLinkResolver {
|
||||
@Arg('memo') memo: string,
|
||||
@Arg('firstName', { nullable: true }) firstName?: string,
|
||||
@Arg('alias', { nullable: true }) alias?: string,
|
||||
@Arg('validUntil', { nullable: true }) validUntil?: Date,
|
||||
@Arg('validUntil', { nullable: true }) validUntil?: string,
|
||||
): Promise<string> {
|
||||
logger.debug('TransactionLinkResolver.queryRedeemJwt... args=', {
|
||||
gradidoID,
|
||||
@ -427,7 +427,7 @@ export class TransactionLinkResolver {
|
||||
code,
|
||||
amount,
|
||||
memo,
|
||||
validUntil?.toISOString() ?? '',
|
||||
validUntil,
|
||||
)
|
||||
// TODO:encode/sign the jwt normally with the private key of the sender/home community, but interims with uuid
|
||||
const homeCom = await getHomeCommunity()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user