Skip to content

Commit 93dc82a

Browse files
peterguyburmudar
andauthored
Update internal/oauth/flow.go
Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
1 parent 9ad25e5 commit 93dc82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/oauth/flow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (c *httpClient) pollOnce(ctx context.Context, tokenEndpoint, deviceCode str
328328
func (c *httpClient) Refresh(ctx context.Context, token *Token) (*TokenResponse, error) {
329329
endpointURL, err := token.EndpointURL()
330330
if err != nil {
331-
return nil, errors.Wrap(err, "invlaid token endpoint")
331+
return nil, errors.Wrap(err, "invalid token endpoint")
332332
}
333333

334334
config, err := c.Discover(ctx, endpointURL)

0 commit comments

Comments
 (0)