Fix error that resulted of merge conflict

This commit is contained in:
elweyn 2023-06-30 11:44:19 +02:00
parent 52fa4cea98
commit db74bf0778

View File

@ -311,7 +311,7 @@ export class TransactionLinkResolver {
const now = new Date()
const releaseLinkLock = await TRANSACTION_LINK_LOCK.acquire()
try {
const transactionLink = await DbTransactionLink.findOne({ code })
const transactionLink = await DbTransactionLink.findOne({ where: { code } })
if (!transactionLink) {
throw new LogError('Transaction link not found', code)
}