summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-hub2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hub b/git-hub
index 33c746d..d99839b 100755
--- a/git-hub
+++ b/git-hub
@@ -402,7 +402,7 @@ class RequestManager:
req.add_header("Authorization", "bearer " +
self.oauthtoken)
req.add_header("Content-Type", "application/json")
- req.add_header("Accept", "application/vnd.github.beta+json")
+ req.add_header("Accept", "application/vnd.github.v3+json")
req.add_header("Content-Length", str(len(body) if body else 0))
req.get_method = lambda: method.upper()
debugf('{}', req.get_full_url())