Skip to content

Commit

Permalink
github token fix
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Apr 6, 2022
1 parent 36fc773 commit cddf691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth.v
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn (mut app App) oauth_cb() vweb.Result {
// url: 'https://api.github.com/user?access_token=$token'
url: 'https://api.github.com/user'
method: .get
header: http.new_header(key: .authorization, value: token)
header: http.new_header(key: .authorization, value: 'token $token')
// header: {
//'User-Agent': 'V http client'
//}
Expand Down

0 comments on commit cddf691

Please sign in to comment.