mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 01:05:21 +00:00
IMP-278: Reverts damsel w/ legacy payouts support (#49)
* IMP-278: Reverts damsel w/ legacy payouts support * Bumps damsel
This commit is contained in:
parent
e16301bd9a
commit
c59cb7c2b8
@ -45,6 +45,7 @@
|
|||||||
-export([get_shop_account/2]).
|
-export([get_shop_account/2]).
|
||||||
-export([pull_event/1]).
|
-export([pull_event/1]).
|
||||||
-export([pull_event/2]).
|
-export([pull_event/2]).
|
||||||
|
-export([get_events/3]).
|
||||||
|
|
||||||
-export([compute_provider/4]).
|
-export([compute_provider/4]).
|
||||||
-export([compute_provider_terminal/4]).
|
-export([compute_provider_terminal/4]).
|
||||||
@ -290,6 +291,11 @@ pull_event(Client) ->
|
|||||||
pull_event(Timeout, Client) ->
|
pull_event(Timeout, Client) ->
|
||||||
gen_server:call(Client, {pull_event, Timeout}, infinity).
|
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) ->
|
call(Client, Function, Args) ->
|
||||||
map_result_error(gen_server:call(Client, {call, Function, Args})).
|
map_result_error(gen_server:call(Client, {call, Function, Args})).
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ services:
|
|||||||
command: /sbin/init
|
command: /sbin/init
|
||||||
|
|
||||||
dominant:
|
dominant:
|
||||||
image: ghcr.io/valitydev/dominant:sha-1c283be-epic-IMP-278-fx-retire-payouts
|
image: ghcr.io/valitydev/dominant:sha-7e33b86
|
||||||
depends_on:
|
depends_on:
|
||||||
- machinegun
|
- machinegun
|
||||||
ports:
|
ports:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2},
|
{<<"ctx">>,{pkg,<<"ctx">>,<<"0.6.0">>},2},
|
||||||
{<<"damsel">>,
|
{<<"damsel">>,
|
||||||
{git,"https://github.com/valitydev/damsel.git",
|
{git,"https://github.com/valitydev/damsel.git",
|
||||||
{ref,"8e034bc74b1f4ed0e00dd63d0c3ca9c922be1c47"}},
|
{ref,"9d4aa513fcbc1cc7ba5eedd9f96d8bc8590a6ac2"}},
|
||||||
0},
|
0},
|
||||||
{<<"dmt_client">>,
|
{<<"dmt_client">>,
|
||||||
{git,"https://github.com/valitydev/dmt_client.git",
|
{git,"https://github.com/valitydev/dmt_client.git",
|
||||||
|
Loading…
Reference in New Issue
Block a user