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