Skip to content

Commit c91bcfd

Browse files
committed
fix(api): add additional transaction mapping
1 parent 8d37c54 commit c91bcfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/Gnomeshade.WebApi/V1/Importing/BookedTransactionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static class BookedTransactionExtensions
3939
_ => transaction.GetCode() switch
4040
{
4141
("PMNT", _, _) => CreditDebitCode.DBIT,
42+
("ACMR", "MCOP", "INTR") => CreditDebitCode.CRDT,
4243

4344
// This will leak all data about the transaction into logs, but that should not be an issue while self-hosting
4445
// While only some fields are needed when this fails, those fields contain private information anyway

0 commit comments

Comments
 (0)