A local-first personal finance app
Fix SimpleFIN blank payee introduced in #353 (#397)
Dan D.7824c52d9fbf
diff --git a/src/app-simplefin/app-simplefin.js b/src/app-simplefin/app-simplefin.jsindex 481f7a5090..526e8ae09d 100644--- a/src/app-simplefin/app-simplefin.js+++ b/src/app-simplefin/app-simplefin.js@@ -2,7 +2,6 @@ import express from 'express';import { inspect } from 'util';import https from 'https';import { SecretName, secretsService } from '../services/secrets-service.js';-import { formatPayeeName } from '../util/payee-name.js';import { handleError } from '../app-gocardless/util/handle-error.js';const app = express();@@ -144,9 +143,7 @@ app.post(.split('T')[0];newTrans.date = new Date(dateToUse * 1000).toISOString().split('T')[0];- newTrans.debtorName = trans.payee;- newTrans.payeeName = formatPayeeName(trans);- //newTrans.debtorAccount = don't have compared to GoCardless+ newTrans.payeeName = trans.payee;newTrans.remittanceInformationUnstructured = trans.description;newTrans.transactionAmount = { amount: trans.amount, currency: 'USD' };newTrans.transactionId = trans.id;diff --git a/upcoming-release-notes/397.md b/upcoming-release-notes/397.mdnew file mode 100644index 0000000000..54bd88d9ca--- /dev/null+++ b/upcoming-release-notes/397.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [duplaja]+---++Fix SimpleFIN blank payee introduced in #353