mirror of
https://github.com/valitydev/wapi-lib.git
synced 2024-11-07 02:35:18 +00:00
Fix ff_server childspec (#17)
This commit is contained in:
parent
2ef60af224
commit
2e83eb06a5
@ -59,7 +59,9 @@ init([]) ->
|
||||
contruct_backend_childspec('ff/sequence' , ff_sequence),
|
||||
contruct_backend_childspec('ff/identity' , ff_identity_machine),
|
||||
contruct_backend_childspec('ff/wallet_v2' , ff_wallet_machine),
|
||||
contruct_backend_childspec('ff/destination_v2' , ff_destination_machine),
|
||||
contruct_backend_childspec('ff/source_v1' , ff_instrument_machine),
|
||||
contruct_backend_childspec('ff/destination_v2' , ff_instrument_machine),
|
||||
contruct_backend_childspec('ff/deposit_v1' , ff_transfer_machine),
|
||||
contruct_backend_childspec('ff/withdrawal_v2' , ff_transfer_machine),
|
||||
contruct_backend_childspec('ff/withdrawal/session_v2' , ff_withdrawal_session_machine)
|
||||
]),
|
||||
|
@ -373,7 +373,7 @@ admin_call(Fun, Args) ->
|
||||
Request = {Service, Fun, Args},
|
||||
Client = ff_woody_client:new(#{
|
||||
url => <<"http://localhost:8022/v1/admin">>,
|
||||
event_handler => woody_event_handler_default
|
||||
event_handler => scoper_woody_event_handler
|
||||
}),
|
||||
ff_woody_client:call(Client, Request).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user