Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30c459f

Browse files
committed
fix compile
1 parentc149f8f commit30c459f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎testutil/oauth2.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ import (
77
"time"
88

99
"golang.org/x/oauth2"
10+
11+
"github.com/coder/coder/v2/coderd/promoauth"
1012
)
1113

1214
typeOAuth2Configstruct {
1315
Token*oauth2.Token
1416
TokenSourceFuncOAuth2TokenSource
1517
}
1618

17-
func (*OAuth2Config)Do(_ context.Context,_string,req*http.Request) (*http.Response,error) {
19+
func (*OAuth2Config)Do(_ context.Context,_promoauth.Oauth2Source,req*http.Request) (*http.Response,error) {
1820
returnhttp.DefaultClient.Do(req)
1921
}
2022

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp