make sure seeded links delete one second after createdAt

This commit is contained in:
einhornimmond 2025-11-13 11:13:39 +01:00
parent 98b3a526ef
commit a8e7a26f8d

View File

@ -39,7 +39,7 @@ export const transactionLinkFactory = async (
}
if (transactionLink.deletedAt) {
dbTransactionLink.deletedAt = new Date()
dbTransactionLink.deletedAt = new Date(dbTransactionLink.createdAt.getTime() + 1000)
await dbTransactionLink.save()
}
}