Skip to content

Commit bbceef3

Browse files
committed
more
1 parent ecfb288 commit bbceef3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/connector/connector.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ func New(ctx context.Context, ghc *cfg.Github, appKey string) (*GitHub, error) {
203203
}
204204

205205
var (
206-
client *github.Client
207206
appClient *github.Client
208207
ts = oauth2.StaticTokenSource(
209208
&oauth2.Token{AccessToken: patToken},
@@ -247,7 +246,7 @@ func New(ctx context.Context, ghc *cfg.Github, appKey string) (*GitHub, error) {
247246
)
248247
}
249248

250-
client, err = newGitHubClient(ctx, ghc.InstanceUrl, ts)
249+
client, err := newGitHubClient(ctx, ghc.InstanceUrl, ts)
251250
if err != nil {
252251
return nil, err
253252
}

0 commit comments

Comments
 (0)