fix
This commit is contained in:
parent
e1b097134c
commit
3bdb072c70
@ -125,7 +125,7 @@ handle_request("POST", "/host/activate", _, #{<<"uuid">> := UUID, <<"auth">> :=
|
||||
end;
|
||||
|
||||
%% 处理主机的授权的 取消激活
|
||||
handle_request("POST", "/host/activate", _, #{<<"uuid">> := UUID, <<"auth">> := false, <<"timeout">> := Timeout}) when is_binary(UUID) ->
|
||||
handle_request("POST", "/host/activate", _, #{<<"uuid">> := UUID, <<"auth">> := false}) when is_binary(UUID) ->
|
||||
case iot_host_sup:ensured_host_started(UUID) of
|
||||
{error, Reason} ->
|
||||
lager:debug("[host_handler] activate host_id: ~p, failed with reason: ~p", [UUID, Reason]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user