Skip to content

Commit

Permalink
Minor fix for appending scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrsweeney committed Feb 16, 2024
1 parent de988df commit e40ee60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions providers/hubspot/hubspot.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ func newConfig(provider *Provider, scopes []string) *oauth2.Config {
}

if len(scopes) > 0 {
for _, scope := range scopes {
c.Scopes = append(c.Scopes, scope)
}
c.Scopes = append(c.Scopes, scopes...)
}

return c
Expand Down

0 comments on commit e40ee60

Please sign in to comment.