We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5455d2 commit 13b6a6fCopy full SHA for 13b6a6f
1 file changed
up.js
@@ -7,12 +7,13 @@ const octokit = new Octokit({
7
auth: one + two,
8
})
9
10
-await octokit.request('GET /repos/{owner}/{repo}/contents/{path}', {
+var old = await octokit.request('GET /repos/{owner}/{repo}/contents/{path}', {
11
owner: 'KittenApps-Films',
12
repo: 'KittenApps-Films.github.io',
13
path: 'up.html',
14
headers: {
15
- 'Accept' : 'application/vnd.github.html+json',
+ //'Accept' : 'application/vnd.github.html+json',
16
'X-GitHub-Api-Version': '2022-11-28'
17
}
18
19
+console.log(old)
0 commit comments