Update github.go
This commit is contained in:
parent
9258cb4b9e
commit
20dbae21c8
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
func GetGithubClient() *github.Client {
|
||||
ctx := context.Background()
|
||||
ts := oauth2.StaticTokenSource(
|
||||
&oauth2.Token{AccessToken: "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"},
|
||||
&oauth2.Token{AccessToken: ""},
|
||||
)
|
||||
tc := oauth2.NewClient(ctx, ts)
|
||||
client := github.NewClient(tc)
|
||||
|
|
Loading…
Reference in a new issue