From 8ad618523910ee20e730af8e4294dbf61b4394f5 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sat, 30 Mar 2024 16:27:05 +0200 Subject: [PATCH] Add support for refund --- webhook.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/webhook.go b/webhook.go index 70194dc..84a666c 100644 --- a/webhook.go +++ b/webhook.go @@ -158,8 +158,6 @@ func handleWebhook(w http.ResponseWriter, r *http.Request) { break } } - - // record transfer fee if monobankTransaction.Data.StatementItem.CommissionRate > 0 { firefly3Transactions = append(firefly3Transactions, firefly3.TransactionSplitStore{ Type_: &firefly3TransactionTypeWithdrawal,