Skip to content

Commit fa316ad

Browse files
authored
Update githubHelper.js
Apply github patch benweet#1724
1 parent 46383b5 commit fa316ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/providers/helpers/githubHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ export default {
8989
const user = (await networkSvc.request({
9090
method: 'GET',
9191
url: 'https://api.github.com/user',
92-
params: {
93-
access_token: accessToken,
92+
headers: {
93+
authorization: `token ${accessToken}`,
9494
},
9595
})).body;
9696
userSvc.addUserInfo({

0 commit comments

Comments
 (0)