Commit 9774339f authored by song's avatar song
Browse files

fix: 删除 AntigravityQuotaRefresher 未使用的 oauthSvc 字段

parent 026740b5
......@@ -14,7 +14,6 @@ import (
type AntigravityQuotaRefresher struct {
accountRepo AccountRepository
proxyRepo ProxyRepository
oauthSvc *AntigravityOAuthService
cfg *config.TokenRefreshConfig
stopCh chan struct{}
......@@ -25,13 +24,12 @@ type AntigravityQuotaRefresher struct {
func NewAntigravityQuotaRefresher(
accountRepo AccountRepository,
proxyRepo ProxyRepository,
oauthSvc *AntigravityOAuthService,
_ *AntigravityOAuthService,
cfg *config.Config,
) *AntigravityQuotaRefresher {
return &AntigravityQuotaRefresher{
accountRepo: accountRepo,
proxyRepo: proxyRepo,
oauthSvc: oauthSvc,
cfg: &cfg.TokenRefresh,
stopCh: make(chan struct{}),
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment