Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
9774339f
Commit
9774339f
authored
Dec 29, 2025
by
song
Browse files
fix: 删除 AntigravityQuotaRefresher 未使用的 oauthSvc 字段
parent
026740b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/internal/service/antigravity_quota_refresher.go
View file @
9774339f
...
@@ -14,7 +14,6 @@ import (
...
@@ -14,7 +14,6 @@ import (
type
AntigravityQuotaRefresher
struct
{
type
AntigravityQuotaRefresher
struct
{
accountRepo
AccountRepository
accountRepo
AccountRepository
proxyRepo
ProxyRepository
proxyRepo
ProxyRepository
oauthSvc
*
AntigravityOAuthService
cfg
*
config
.
TokenRefreshConfig
cfg
*
config
.
TokenRefreshConfig
stopCh
chan
struct
{}
stopCh
chan
struct
{}
...
@@ -25,13 +24,12 @@ type AntigravityQuotaRefresher struct {
...
@@ -25,13 +24,12 @@ type AntigravityQuotaRefresher struct {
func
NewAntigravityQuotaRefresher
(
func
NewAntigravityQuotaRefresher
(
accountRepo
AccountRepository
,
accountRepo
AccountRepository
,
proxyRepo
ProxyRepository
,
proxyRepo
ProxyRepository
,
oauthSvc
*
AntigravityOAuthService
,
_
*
AntigravityOAuthService
,
cfg
*
config
.
Config
,
cfg
*
config
.
Config
,
)
*
AntigravityQuotaRefresher
{
)
*
AntigravityQuotaRefresher
{
return
&
AntigravityQuotaRefresher
{
return
&
AntigravityQuotaRefresher
{
accountRepo
:
accountRepo
,
accountRepo
:
accountRepo
,
proxyRepo
:
proxyRepo
,
proxyRepo
:
proxyRepo
,
oauthSvc
:
oauthSvc
,
cfg
:
&
cfg
.
TokenRefresh
,
cfg
:
&
cfg
.
TokenRefresh
,
stopCh
:
make
(
chan
struct
{}),
stopCh
:
make
(
chan
struct
{}),
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment