fix
This commit is contained in:
parent
46a7bcca87
commit
d0a764ac48
@ -46,7 +46,7 @@ handle_request("POST", "/network/exit_node_control", _, #{<<"id">> := NetworkId,
|
|||||||
action = Action,
|
action = Action,
|
||||||
remark = Remark
|
remark = Remark
|
||||||
}},
|
}},
|
||||||
case sdlan_network:command(NetworkId, ReceiverPid, ClientId, SubCommand) of
|
case sdlan_network:command(NetworkPid, ReceiverPid, ClientId, SubCommand) of
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
{ok, 200, sdlan_util:json_error(-1, Reason)};
|
{ok, 200, sdlan_util:json_error(-1, Reason)};
|
||||||
{ok, Ref} ->
|
{ok, Ref} ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user