diff --git a/index.js b/index.js index 001024c..6c713ec 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,7 @@ async function commitChanges(file, filePath) { const blobResponse = await axios.post( `https://api.github.com/repos/${owner}/${repo}/git/blobs`, { - content: newContent, + content: JSON.stringify(newContent), encoding: 'utf-8', }, {