🪲 Fix JSON format

This commit is contained in:
Simon Schneegans
2023-10-07 18:42:04 +02:00
parent ab9ff3b656
commit efee8f7380

View File

@@ -149,7 +149,7 @@ try {
if (isSvgFile) { if (isSvgFile) {
content = makeBadge(data); content = makeBadge(data);
} else { } else {
content = JSON.stringify({ content: data }); content = JSON.stringify(data);
} }
// For the POST request, the above content is set as file contents for the // For the POST request, the above content is set as file contents for the