Skip to content

Commit

Permalink
🪲 Fix JSON format
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Oct 7, 2023
1 parent ab9ff3b commit efee8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efee8f7

Please sign in to comment.