Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/github-api-helper.ts
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-10 01:53:12 -0500
committereric sciple <ericsciple@users.noreply.github.com>2019-12-10 01:53:12 -0500
commite30dd501a41b65ab64ee56f688656f135b1838b3 (patch)
tree2af174b84895474fbf6e9a188892d9292a73174e /src/github-api-helper.ts
parentaeb38684ac6061af028c6f9355b413f464de8c49 (diff)
.
Diffstat (limited to 'src/github-api-helper.ts')
-rw-r--r--src/github-api-helper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts
index f4aa8a8..764156c 100644
--- a/src/github-api-helper.ts
+++ b/src/github-api-helper.ts
@@ -52,6 +52,7 @@ export async function downloadRepository(
}
const response = await octokit.repos.getArchiveLink(params)
console.log('GOT THE RESPONSE')
+ console.log(response.status)
if (response.status != 302) {
throw new Error(
`Unexpected response from GitHub API. Status: '${response.status}'`