fix: needs to be a pointer receiver

This commit is contained in:
Derrick Hammer 2024-02-11 22:36:20 -05:00
parent e7bfd0c6c9
commit d5ac5e4b3c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func (o Oauth) authUrl() string {
return o.config().AuthCodeURL("state")
}
func (o Oauth) loadToken(config *oauth2.Config) bool {
func (o *Oauth) loadToken(config *oauth2.Config) bool {
token := &oauth2.Token{}
if o.cfg.Oauth.Token != "" {