commit the file

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2023-10-04 11:50:09 +03:00
parent 14cfa4d916
commit 555818fc1e
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -99,7 +99,7 @@ async function commitChanges(file, filePath) {
const blobResponse = await axios.post(
`https://api.github.com/repos/${owner}/${repo}/git/blobs`,
{
content: newContent,
content: file,
encoding: 'utf-8',
},
{