little fix (#35)

Co-authored-by: ggmaleva <ggmaleva@yandex.ru>
This commit is contained in:
Gregory 2022-08-10 19:02:02 +03:00 committed by GitHub
parent cde1b30665
commit 98793ca223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
</parent> </parent>
<artifactId>adapter-common-lib</artifactId> <artifactId>adapter-common-lib</artifactId>
<version>1.1.4</version> <version>1.1.5</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>adapter-common-lib</name> <name>adapter-common-lib</name>

View File

@ -58,7 +58,7 @@ public class CdsStorageClient {
throw new CdsStorageException("Token must be set for card data, withdrawalId " + withdrawal.getId()); throw new CdsStorageException("Token must be set for card data, withdrawalId " + withdrawal.getId());
} }
BankCard bankCard = destination.getBankCard(); BankCard bankCard = destination.getBankCard();
return BankCardExtractor.initCardDataProxyModel(bankCard, getCardData(bankCard.getToken())); return BankCardExtractor.initCardDataProxyModelWithOptionalExpDate(bankCard, getCardData(bankCard.getToken()));
} }
public CardDataProxyModel getCardData(RecurrentTokenContext context) { public CardDataProxyModel getCardData(RecurrentTokenContext context) {