Skip to content

Commit

Permalink
Fix gh.Client.User
Browse files Browse the repository at this point in the history
  • Loading branch information
twavv committed Nov 20, 2023
1 parent e4c000c commit 1e07ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gh/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type User struct {
// User returns information about the given user.
func (c *Client) User(ctx context.Context, login string) (*User, error) {
var query struct {
User User
User User `graphql:"user(login: $login)"`
}
if err := c.query(ctx, &query, nil); err != nil {
return nil, err
Expand Down

0 comments on commit 1e07ca3

Please sign in to comment.