fix
This commit is contained in:
parent
7979c763ca
commit
52efd241e5
@ -76,7 +76,7 @@ handle_request("POST", "/host/publish_command", _,
|
|||||||
<<"t_id">> => integer_to_binary(TaskId),
|
<<"t_id">> => integer_to_binary(TaskId),
|
||||||
<<"t">> => Timeout,
|
<<"t">> => Timeout,
|
||||||
<<"ts">> => iot_util:current_time(),
|
<<"ts">> => iot_util:current_time(),
|
||||||
<<"m">> => Params
|
<<"m">> => jiffy:encode(Params, [force_utf8])
|
||||||
},
|
},
|
||||||
BinReply = jiffy:encode(append_service_name(PostParams, Reply), [force_utf8]),
|
BinReply = jiffy:encode(append_service_name(PostParams, Reply), [force_utf8]),
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user