ok\n
This commit is contained in:
parent
9afa7c9787
commit
3ae463960f
|
@ -55,7 +55,7 @@ handle('POST', "/mqtt/publish", Req) ->
|
|||
retain = Retain,
|
||||
topic = Topic,
|
||||
payload = Message }),
|
||||
Req:ok({"text/plan", <<"ok">>});
|
||||
Req:ok({"text/plan", <<"ok\n">>});
|
||||
{false, _} ->
|
||||
Req:respond({400, [], <<"Bad QoS">>});
|
||||
{_, false} ->
|
||||
|
|
Loading…
Reference in New Issue