From 5359015c6154b1ee8630fb2f7c7a993c93dece66 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Mon, 18 Sep 2023 15:16:25 +0300 Subject: [PATCH] Update header for tree request Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index ce99d92..d393a84 100644 --- a/index.js +++ b/index.js @@ -124,6 +124,7 @@ async function commitChanges(filePath) { }, { headers: { + 'Accept': 'application/vnd.github.v3+json', 'Authorization': `Bearer ${githubToken}`, }, }