Skip to content

Commit

Permalink
fix(nordigen): nordea banks might not be the same
Browse files Browse the repository at this point in the history
As @hpernu pointed out we don't know if the other affiliates of Nordea
are the same. Lets just fix what we know is broken for now.

commit-id:41062796
  • Loading branch information
martinohansen committed Sep 19, 2024
1 parent dcb9b1f commit 6f63268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader/nordigen/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// Mapper uses the most specific mapper for the bank in question
func (r Reader) Mapper(a ynabber.Account, t nordigen.Transaction) (*ynabber.Transaction, error) {
switch {
case strings.HasPrefix(r.Config.Nordigen.BankID, "NORDEA_"):
case r.Config.Nordigen.BankID == "NORDEA_NDEADKKK":
return r.nordeaMapper(a, t)

default:
Expand Down

0 comments on commit 6f63268

Please sign in to comment.