output valid json when there are no clients

This commit is contained in:
Scott Barron 2022-08-05 18:53:19 -04:00
parent aa7177a9e4
commit 206b7f4372

View file

@ -102,7 +102,8 @@ R"#({
}
// remove trailing comma
result.pop_back();
if (result != "[")
result.pop_back();
result += "]";
} else {