From efee8f73801e743b4dbd6c778d6fe4761437b02a Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 7 Oct 2023 18:42:04 +0200 Subject: [PATCH] :beetle: Fix JSON format --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3faf218..7cea9db 100644 --- a/index.js +++ b/index.js @@ -149,7 +149,7 @@ try { if (isSvgFile) { content = makeBadge(data); } else { - content = JSON.stringify({ content: data }); + content = JSON.stringify(data); } // For the POST request, the above content is set as file contents for the