Fix TypeError if autowithdrawal creation failed (#1072)

This commit is contained in:
ekzyis 2024-04-15 16:17:37 +02:00 committed by GitHub
parent 448f028ec1
commit 1faf309c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export async function autoWithdraw ({ data: { id }, models, lnd }) {
: wallet.type === 'CLN' ? 'walletCLN' : 'walletLightningAddress',
level: 'ERROR',
message: 'autowithdrawal failed: ' + details
})
}, { me: user, models })
}
}