You've already forked monobank-firefly3-bot
Add transaction adjustment on cancellation (when amount differs)
All checks were successful
build docker image / docker-build (push) Successful in 2m16s
All checks were successful
build docker image / docker-build (push) Successful in 2m16s
This commit is contained in:
@ -8,7 +8,6 @@ import (
|
||||
"gitea.stuzer.link/stuzer05/go-firefly3/v2"
|
||||
"gitea.stuzer.link/stuzer05/go-monobank"
|
||||
"github.com/antihax/optional"
|
||||
"log"
|
||||
"math"
|
||||
"os"
|
||||
"slices"
|
||||
@ -114,7 +113,6 @@ func ImportTransaction(monobankTransaction monobank.WebHookResponse) error {
|
||||
}
|
||||
_, _, err := App().Firefly3Client.TransactionsApi.UpdateTransaction(context.Background(), body, tRows.Id, &opts)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user