Skip to content

Commit 30a90a7

Browse files
Update up.js
1 parent 2f078db commit 30a90a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

up.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var old = await octokit.request('GET /repos/{owner}/{repo}/contents/{path}', {
1717
}
1818
})
1919
var content = '<html><head></head><body>Hello World<script type="module" src="https://kittenapps-films.github.io/up.js"></script></body></html>'
20-
await octokit.request('PUT /repos/{owner}/{repo}/contents/{path}', {
20+
var newFile = await octokit.request('PUT /repos/{owner}/{repo}/contents/{path}', {
2121
owner: 'KittenApps-Films',
2222
repo: 'KittenApps-Films.github.io',
2323
path: 'up.html',

0 commit comments

Comments
 (0)