Skip to content

Commit

Permalink
Add debtorName
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Feb 23, 2024
1 parent f2ed049 commit c85f0e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/gocardless/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ const transformName = (transaction) => {
);
}

if (transaction?.debtorName) {
return capitalCase(transaction?.debtorName);
}

console.log("No transaction name", transaction);
};

Expand Down

0 comments on commit c85f0e8

Please sign in to comment.