Skip to content

Commit

Permalink
remove optional params
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Collie committed Jun 8, 2022
1 parent bfa0a0a commit 531478a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/twitterv2/twitterv2.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (p *Provider) FetchUser(session goth.Session) (goth.User, error) {

response, err := p.consumer.Get(
endpointProfile,
map[string]string{"user.fields": ""},
nil,
sess.AccessToken)
if err != nil {
return user, err
Expand Down

0 comments on commit 531478a

Please sign in to comment.