From 1faf309c001707534a43fb2bc743b749c36c8da9 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 15 Apr 2024 16:17:37 +0200 Subject: [PATCH] Fix TypeError if autowithdrawal creation failed (#1072) --- worker/autowithdraw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/autowithdraw.js b/worker/autowithdraw.js index 891de302..afebfae1 100644 --- a/worker/autowithdraw.js +++ b/worker/autowithdraw.js @@ -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 }) } }