mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix createdAt is now
This commit is contained in:
parent
1a715f8b71
commit
dee6fd9d0a
@ -24,7 +24,8 @@ export const transactionLinkCode = (date: Date): string => {
|
|||||||
|
|
||||||
const transactionLinkExpireDate = (date: Date): Date => {
|
const transactionLinkExpireDate = (date: Date): Date => {
|
||||||
// valid for 14 days
|
// valid for 14 days
|
||||||
return new Date(date.setDate(date.getDate() + 14))
|
const validUntil = new Date(date)
|
||||||
|
return new Date(validUntil.setDate(date.getDate() + 14))
|
||||||
}
|
}
|
||||||
|
|
||||||
@Resolver()
|
@Resolver()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user