FF-7 Fix swag args decoding (#27)

This commit is contained in:
Andrey Fadeev 2018-10-29 14:25:09 +03:00 committed by GitHub
parent 720a2e6549
commit 1b8c6a13b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -552,8 +552,8 @@ from_swag(destination_resource, #{
}};
from_swag(withdrawal_params, Params) ->
#{
source => maps:get(<<"wallet">> , Params),
destination => maps:get(<<"destination">>, Params),
wallet_id => maps:get(<<"wallet">> , Params),
destination_id => maps:get(<<"destination">>, Params),
body => from_swag(withdrawal_body , maps:get(<<"body">>, Params))
};
%% TODO