chore: fix lint

This commit is contained in:
andig 2025-10-08 09:35:25 +02:00
parent b9a324ad9b
commit b23a24bdca

View file

@ -4,7 +4,6 @@ import (
"errors"
"sync"
"dario.cat/mergo"
"golang.org/x/oauth2"
)
@ -57,8 +56,3 @@ func (ts *TokenSource) Token() (*oauth2.Token, error) {
return ts.token, nil
}
// mergeToken updates a token while preventing wiping the refresh token
func (ts *TokenSource) mergeToken(t *oauth2.Token) error {
return mergo.Merge(ts.token, t, mergo.WithOverride)
}