Skip to content

Commit c0b75f6

Browse files
authored
fix: add missing param (#2125)
1 parent 0c0d745 commit c0b75f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/provider/snapchat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (p snapchatProvider) GetUserData(ctx context.Context, tok *oauth2.Token) (*
8686

8787
// Add the GraphQL query parameter
8888
query := url.Values{}
89-
query.Add("query", "{me { externalId displayName bitmoji { avatar id } } }")
89+
query.Add("query", "{me { externalId displayName bitmoji { avatar id } email } }")
9090
baseURL.RawQuery = query.Encode()
9191

9292
if err := makeRequest(ctx, tok, p.Config, baseURL.String(), &u); err != nil {

0 commit comments

Comments
 (0)