Add more lgos

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2023-09-20 14:06:18 +03:00
parent c029226c12
commit 4ffade0444
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -82,8 +82,8 @@ async function commitChanges(file, filePath) {
); );
const baseTreeSha = branchResponse.data.commit.sha; const baseTreeSha = branchResponse.data.commit.sha;
console.log(typeof file, file)
// Create a new blob with the updated content // Create a new blob with the updated content
console.log('Branch')
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`,
{ {