diff --git a/main.cpp b/main.cpp index 4704d13..e5828e8 100644 --- a/main.cpp +++ b/main.cpp @@ -272,7 +272,7 @@ std::string getTargetsJson() { auto targets = getTargets(); if(!targets.empty()) { for(const auto &target : targets) { - res << " {\n" << " \"id\": " << target.first << "\n"; + res << " {\n" << " \"id\": " << target.first << ",\n"; res << " \"name\": \"" << safeJson(target.second) << "\"\n },\n"; } res.seekp(-2, std::ios_base::end);