From b1a3b9a9fb8bb44167a8c327601ddf77a167d9e2 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Tue, 19 Sep 2023 11:34:13 +0300 Subject: [PATCH] Revert "Don't stringify contnet" This reverts commit 5727bbc02c0875b7f67650e2e6c560e9890804e5. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', }, {