Revert "Don't stringify contnet"

This reverts commit 5727bbc02c.
This commit is contained in:
Shakar 2023-09-19 11:34:13 +03:00
parent 44b17fe49d
commit b1a3b9a9fb
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -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',
},
{