fix(auth): error when antigravity refresh token missing during refresh
This commit is contained in:
1 parent
b01619b441
commit
5e5d8142f9
1 file changed
-3
@@ -356,9 +356,6 @@ func (h *Handler) refreshAntigravityOAuthAccessToken(ctx context.Context, auth *
|
||||
|
||||
refreshToken := stringValue(metadata, "refresh_token")
|
||||
if refreshToken == "" {
|
||||
if current != "" {
|
||||
return current, nil
|
||||
}
|
||||
return "", fmt.Errorf("antigravity refresh token missing")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user