mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-25 21:32:00 +00:00
Update internal/auth/codebuddy/codebuddy_auth.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -131,7 +131,7 @@ type pollResponse struct {
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
// doPollRequest 执行单次轮询请求,安全读取并关闭响应体
|
||||
// doPollRequest performs a single polling request, safely reading and closing the response body
|
||||
func (a *CodeBuddyAuth) doPollRequest(ctx context.Context, pollURL string) ([]byte, int, error) {
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodGet, pollURL, nil)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user