This commit is contained in:
anlicheng 2026-04-09 14:26:40 +08:00
parent 46a7bcca87
commit d0a764ac48

View File

@ -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} ->