Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-19 11:17:36 +03:00
parent 37ae560d8c
commit ae2dbd7484
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -82,7 +82,7 @@ async function commitChanges(filePath, file) {
);
const baseTreeSha = branchResponse.data.commit.sha;
console.log(file)
// Create a new blob with the updated content
const blobResponse = await axios.post(
`https://api.github.com/repos/${owner}/${repo}/git/blobs`,