Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST https://api.github.com/repos/mh-cbon/demotest/issues: 401 Bad credentials []
- input := &github.IssueRequest{
- Title: &g.IssueTitle,
- Body: &body,
- }
- ts := oauth2.StaticTokenSource(
- &oauth2.Token{AccessToken: g.Token},
- )
- tc := oauth2.NewClient(oauth2.NoContext, ts)
- client := github.NewClient(tc)
- _, _, err = client.Issues.Create(g.Owner, g.Repo, input)
- repo
- repo:status
- repo:repo_deployment
- repo:public_repo
- user
- user:email
- user:follow
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement