From cd51cf920b2448023fd3bfe220a48de878dc7d3d Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 10 Dec 2019 02:02:20 -0500 Subject: . --- src/github-api-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github-api-helper.ts') diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index e05e1e1..8720656 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -53,7 +53,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) { + if (response.status != 200) { throw new Error( `Unexpected response from GitHub API. Status: '${response.status}'` ) -- cgit v1.2.3