mirror of
https://github.com/valitydev/fistful-server.git
synced 2024-11-06 10:45:21 +00:00
[WIP] Fix
This commit is contained in:
parent
6a1329c094
commit
77e04c2dab
@ -601,7 +601,7 @@ to_swag(destination_resource, {bank_card, BankCard}) ->
|
||||
to_swag(map, #{
|
||||
<<"type">> => <<"BankCardDestinationResource">>,
|
||||
<<"token">> => maps:get(token, BankCard),
|
||||
<<"paymentSystem">> => genlib_map:get(payment_system, BankCard),
|
||||
<<"paymentSystem">> => genlib:to_binary(genlib_map:get(payment_system, BankCard)),
|
||||
<<"bin">> => genlib_map:get(bin, BankCard),
|
||||
<<"lastDigits">> => to_swag(pan_last_digits, genlib_map:get(masked_pan, BankCard))
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user