|
@@ -755,7 +755,7 @@ esp_err_t GpioHandler::handleHttpRequest(httpd_req_t *req)
|
|
|
return ESP_OK;
|
|
return ESP_OK;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- std::string response = "{\\"profile\\":\\"";
|
|
|
|
|
|
|
+ std::string response = "{\"profile\":\"";
|
|
|
response += profile->name;
|
|
response += profile->name;
|
|
|
response += "\\",\\"maxChannels\\":";
|
|
response += "\\",\\"maxChannels\\":";
|
|
|
response += std::to_string(profile->maxUserChannels);
|
|
response += std::to_string(profile->maxUserChannels);
|