From 7c687542177feefe354f3c9026aa0e1ad7a07260 Mon Sep 17 00:00:00 2001 From: zv0n Date: Sun, 11 Jul 2021 13:42:14 +0200 Subject: [PATCH] Fix targets --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);