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
044d3a01
Commit
044d3a01
authored
Mar 16, 2026
by
erio
Browse files
fix: suppress SA4006 unused value warning in Path A branch
parent
1fc9dd7b
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/service/token_refresh_service.go
View file @
044d3a01
...
...
@@ -270,8 +270,7 @@ func (s *TokenRefreshService) refreshWithRetry(ctx context.Context, account *Acc
return
s
.
refreshPolicy
.
handleAlreadyRefreshed
()
}
else
{
account
=
result
.
Account
newCredentials
=
result
.
NewCredentials
// 统一 API 已设置 _token_version 并更新 DB,无需重复操作
_
=
result
.
NewCredentials
// 统一 API 已设置 _token_version 并更新 DB,无需重复操作
}
}
else
{
// 降级:直接调用 refresher(兼容旧路径)
...
...
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