We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d073c6 commit 1e5dd29Copy full SHA for 1e5dd29
1 file changed
github_deploy/commands/_http_utils.py
@@ -55,8 +55,8 @@ async def delete(*, session, url, data, headers=None):
55
56
async def list_repos(*, session, org, token):
57
headers = {
58
- "Authorization": "token {token}".format(token=token),
59
- "Accept": "application/vnd.github.v3+json",
+ "Authorization": "Bearer {token}".format(token=token),
+ "Accept": "application/vnd.github+json",
60
}
61
url = REPOS_URL.format(org=org)
62
click.echo("Retrieving repos at {}".format(url))
0 commit comments