Don't stringify contnet

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-19 11:31:45 +03:00
parent 450787df5a
commit 5727bbc02c
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( const blobResponse = await axios.post(
`https://api.github.com/repos/${owner}/${repo}/git/blobs`, `https://api.github.com/repos/${owner}/${repo}/git/blobs`,
{ {
content: JSON.stringify(newContent), content: newContent,
encoding: 'utf-8', encoding: 'utf-8',
}, },
{ {