Skip to content

Commit

Permalink
IMP-278: Reverts damsel w/ legacy payouts support (#49)
Browse files Browse the repository at this point in the history
* IMP-278: Reverts damsel w/ legacy payouts support

* Bumps damsel
  • Loading branch information
nanodirijabl authored Sep 12, 2024
1 parent e16301b commit c59cb7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions apps/pm_client/src/pm_client_party.erl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
-export([get_shop_account/2]).
-export([pull_event/1]).
-export([pull_event/2]).
-export([get_events/3]).

-export([compute_provider/4]).
-export([compute_provider_terminal/4]).
Expand Down Expand Up @@ -290,6 +291,11 @@ pull_event(Client) ->
pull_event(Timeout, Client) ->
gen_server:call(Client, {pull_event, Timeout}, infinity).

-spec get_events(non_neg_integer() | undefined, pos_integer() | undefined, pid()) ->
[tuple()] | woody_error:business_error().
get_events(After, Limit, Client) ->
call(Client, 'GetEvents', with_party_id([]) ++ [#payproc_EventRange{'after' = After, limit = Limit}]).

call(Client, Function, Args) ->
map_result_error(gen_server:call(Client, {call, Function, Args})).

Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
command: /sbin/init

dominant:
image: ghcr.io/valitydev/dominant:sha-1c283be-epic-IMP-278-fx-retire-payouts
image: ghcr.io/valitydev/dominant:sha-7e33b86
depends_on:
- machinegun
ports:
Expand Down
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2},
{<<"damsel">>,
{git,"https://github.com/valitydev/damsel.git",
{ref,"8e034bc74b1f4ed0e00dd63d0c3ca9c922be1c47"}},
{ref,"9d4aa513fcbc1cc7ba5eedd9f96d8bc8590a6ac2"}},
0},
{<<"dmt_client">>,
{git,"https://github.com/valitydev/dmt_client.git",
Expand Down

0 comments on commit c59cb7c

Please sign in to comment.