Skip to content

Commit 8af489a

Browse files
committed
fix GitHubAPI
1 parent ca335ad commit 8af489a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* add optional "User-Agent" config option to use while making http calls
44
* refactor usage of grant_type [authorization_code|refresh_token|password|etc]
55
* add Genius.com API authentication (OAuth2)
6+
* fix GitHub API
67

78
[2.5.3]
89
* fix - do not send two Content-Type header in async requests

scribejava-apis/src/main/java/com/github/scribejava/apis/GitHubApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static GitHubApi instance() {
2727

2828
@Override
2929
public Verb getAccessTokenVerb() {
30-
return Verb.GET;
30+
return Verb.POST;
3131
}
3232

3333
@Override

0 commit comments

Comments
 (0)