Skip to content

Commit b8700be

Browse files
committed
fix(api): fix transaction mapping
1 parent c91bcfd commit b8700be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

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

0 commit comments

Comments
 (0)