Skip to content

Commit

Permalink
Use variable for teamSlug
Browse files Browse the repository at this point in the history
Signed-off-by: Raphaël Pinson <[email protected]>
  • Loading branch information
raphink committed Sep 10, 2024
1 parent f3e4315 commit 6c399b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instruqt/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (c *Client) GetUserInfo(userId string) (u UserInfo, err error) {
var q userInfoQuery
ctx := context.Background()
variables := map[string]interface{}{
"teamSlug": graphql.String("isovalent"),
"teamSlug": graphql.String(teamSlug),
"userID": graphql.String(userId),
}
if err := c.GraphQLClient.Query(ctx, &q, variables); err != nil {
Expand Down

0 comments on commit 6c399b3

Please sign in to comment.