mirror of
https://github.com/valitydev/fistful-server.git
synced 2024-11-06 10:45:21 +00:00
FF-7 Fix swag args decoding (#27)
This commit is contained in:
parent
720a2e6549
commit
1b8c6a13b8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user