mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Don't stringify contnet
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
450787df5a
commit
5727bbc02c
2
index.js
2
index.js
@ -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',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user