Fix autowithdrawal error log

This commit is contained in:
ekzyis 2024-07-16 22:55:04 +02:00
parent 538f1e21d6
commit 9587ff9a52
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ async function checkWithdrawal ({ data: { hash }, boss, models, lnd }) {
if (code === 0 && dbWdrwl.wallet) { if (code === 0 && dbWdrwl.wallet) {
// add error into log for autowithdrawal // add error into log for autowithdrawal
await addWalletLog({ await addWalletLog({
wallet: dbWdrwl.wallet.type, wallet: dbWdrwl.wallet,
level: 'ERROR', level: 'ERROR',
message: 'autowithdrawal failed: ' + message message: 'autowithdrawal failed: ' + message
}, { models, me: { id: dbWdrwl.userId } }) }, { models, me: { id: dbWdrwl.userId } })