From 875eeb699cbae6f34339b0bec656a670a0b99a6c Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Sat, 13 Feb 2021 19:51:31 +1100 Subject: [PATCH] Fix report formatting --- src/mesh/http/ContentHandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesh/http/ContentHandler.cpp b/src/mesh/http/ContentHandler.cpp index 8535dd349..e46fdb1f7 100644 --- a/src/mesh/http/ContentHandler.cpp +++ b/src/mesh/http/ContentHandler.cpp @@ -934,8 +934,7 @@ void handleReport(HTTPRequest *req, HTTPResponse *res) res->println("\"radio\": {"); res->printf("\"frequecy\": %f,\n", RadioLibInterface::instance->getFreq()); res->printf("\"lora_channel\": %d\n", RadioLibInterface::instance->getChannelNum()); - res->println("},"); - + res->println("}"); res->println("},");