Feature: debug (settings)

This commit is contained in:
Patrick Amrhein 2024-03-27 19:18:08 +01:00
parent 0ca2eb8287
commit 737308ebe6
5 changed files with 17 additions and 0 deletions

View file

@ -814,6 +814,7 @@ class RestApi {
obj[F("enabled")] = (bool) mConfig->plugin.zeroExport.enabled;
obj[F("log_over_webserial")] = (bool) mConfig->plugin.zeroExport.log_over_webserial;
obj[F("log_over_mqtt")] = (bool) mConfig->plugin.zeroExport.log_over_mqtt;
obj[F("debug")] = (bool) mConfig->plugin.zeroExport.debug;
// Groups
obj[F("max_groups")] = ZEROEXPORT_MAX_GROUPS;
JsonArray arrGroup = obj.createNestedArray(F("groups"));