Skip to content

Commit 1e5dd29

Browse files
authored
fix: bug with listing repositories
1 parent 8d073c6 commit 1e5dd29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

github_deploy/commands/_http_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ async def delete(*, session, url, data, headers=None):
5555

5656
async def list_repos(*, session, org, token):
5757
headers = {
58-
"Authorization": "token {token}".format(token=token),
59-
"Accept": "application/vnd.github.v3+json",
58+
"Authorization": "Bearer {token}".format(token=token),
59+
"Accept": "application/vnd.github+json",
6060
}
6161
url = REPOS_URL.format(org=org)
6262
click.echo("Retrieving repos at {}".format(url))

0 commit comments

Comments
 (0)