mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 10:55:22 +00:00
HG-468 Add temporary reindex MG call handler (#304)
This should make possible to fix rest of rbkmoney/hellgate#299 problems
This commit is contained in:
parent
faf2d4c22b
commit
89464944b0
@ -285,7 +285,16 @@ handle_call({revoke_claim, ID, ClaimRevision, Reason}, AuxSt, St) ->
|
||||
[finalize_claim(Claim, Timestamp)],
|
||||
AuxSt,
|
||||
St
|
||||
).
|
||||
);
|
||||
|
||||
handle_call(rebuild_index, AuxSt, _St) ->
|
||||
{
|
||||
{ok, ok},
|
||||
#{
|
||||
events => [],
|
||||
auxst => wrap_aux_state(AuxSt)
|
||||
}
|
||||
}.
|
||||
|
||||
publish_party_event(Source, {ID, Dt, Ev = ?party_ev(_)}) ->
|
||||
#payproc_Event{id = ID, source = Source, created_at = Dt, payload = Ev}.
|
||||
|
Loading…
Reference in New Issue
Block a user