Skip to content

Revert "TD-844: Add deposit desc (#28)" #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
{test, [
{deps, [
%% Libraries generated with swagger-codegen-erlang from valitydev/swag-wallets
{swag_server_wallet, {git, "https://github.com/valitydev/swag-wallets", {ref, "efcf8ae"}}},
{swag_client_wallet, {git, "https://github.com/valitydev/swag-wallets", {ref, "b3f8e8f"}}},
{swag_server_wallet, {git, "https://github.com/valitydev/swag-wallets", {ref, "5e5e8da"}}},
{swag_client_wallet, {git, "https://github.com/valitydev/swag-wallets", {ref, "e22798e"}}},
{meck, "0.9.2"}
]},
{cover_enabled, true},
Expand Down
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
0},
{<<"fistful_proto">>,
{git,"https://github.com/valitydev/fistful-proto.git",
{ref,"f2ca9b5225956a6bd9e1b3f84157f52c884fdb36"}},
{ref,"c9c3aa00f075ecf774c2befc57284aeffbeea1fe"}},
0},
{<<"fistful_reporter_proto">>,
{git,"https://github.com/valitydev/fistful-reporter-proto.git",
Expand Down
3 changes: 1 addition & 2 deletions src/wapi_stat_backend.erl
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ unmarshal_response(deposits, Response) ->
Response#stat_StatDeposit.fee,
Response#stat_StatDeposit.currency_symbolic_code
),
<<"revertStatus">> => unmarshal_revert_status(Response#stat_StatDeposit.revert_status),
<<"desc">> => Response#stat_StatDeposit.description
<<"revertStatus">> => unmarshal_revert_status(Response#stat_StatDeposit.revert_status)
},
unmarshal_deposit_stat_status(Response#stat_StatDeposit.status)
);
Expand Down
3 changes: 1 addition & 2 deletions test/wapi_wallet_dummy_data.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@
amount = ?INTEGER,
fee = ?INTEGER,
currency_symbolic_code = ?RUB,
status = {pending, #stat_DepositPending{}},
description = ?STRING
status = {pending, #stat_DepositPending{}}
}
]}
).
Expand Down