mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:26:51 +00:00
return empty box instead of failure when no bank is found
This commit is contained in:
parent
6d74ca41d8
commit
a748cf078b
@ -227,7 +227,7 @@ object KafkaMappedConnector extends Connector with CreateViewImpls with Loggable
|
||||
val rValue = r.get
|
||||
Full(new KafkaBank(new KafkaInboundBank(rValue.id, rValue.shortName, rValue.fullName, rValue.logo, rValue.url)))
|
||||
} else {
|
||||
Failure(ErrorMessages.ConnectorEmptyResponse, Empty, Empty)
|
||||
Empty
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user