Skip to content

Commit

Permalink
Set API version to v1beta (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitlicht authored Jan 24, 2023
1 parent 597f334 commit c42c034
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewClient(ctx context.Context) (graphql.Client, bool, error) {
}

tokenSrc := cfg.TokenSource(ctx)
graphqlUrl := fmt.Sprintf("%s/graphql/v1", apiAddress)
graphqlUrl := fmt.Sprintf("%s/graphql/v1beta", apiAddress)
httpClient := oauth2.NewClient(ctx, tokenSrc)

return graphql.NewClient(graphqlUrl, httpClient), true, nil
Expand Down

0 comments on commit c42c034

Please sign in to comment.