Skip to content

Commit

Permalink
Avoid use of deprecated GraphQL field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndarilek committed Jan 17, 2023
1 parent ed66e2a commit 2e8437d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/resource_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "context"
func (c *Client) GetCurrentUser(ctx context.Context) (*User, error) {
query := `
query {
currentUser {
viewer {
email
}
}
Expand Down

0 comments on commit 2e8437d

Please sign in to comment.