Fix ff_server childspec (#17)

This commit is contained in:
Anton Belyaev 2018-10-05 17:40:10 +03:00 committed by GitHub
parent 2ef60af224
commit 2e83eb06a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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)
]),

View File

@ -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).