Skip to content

Commit 60da7c1

Browse files
committed
ORGANIC-443. Fixed token key for REST to github.com. Confirmed github only work with Authorization: token, not access_token (would it broke gitlab, bitbucket?).
1 parent 151ec09 commit 60da7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (c contextKey) String() string {
2020
}
2121

2222
const (
23-
accessTokenKey = contextKey("access_token")
23+
accessTokenKey = contextKey("token")
2424
tokenKey = contextKey("jwt")
2525
requestIDKey = contextKey("request_id")
2626
configKey = contextKey("config")

0 commit comments

Comments
 (0)