From c42c0341fa0c46cb0adbfdc06c6ba928aaae5384 Mon Sep 17 00:00:00 2001 From: Amit Lichtenberg Date: Tue, 24 Jan 2023 12:52:34 +0200 Subject: [PATCH] Set API version to v1beta (#119) --- src/shared/otterizecloud/otterizecloudclient/cloud_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/otterizecloud/otterizecloudclient/cloud_client.go b/src/shared/otterizecloud/otterizecloudclient/cloud_client.go index 8929ff33f..c90e70240 100644 --- a/src/shared/otterizecloud/otterizecloudclient/cloud_client.go +++ b/src/shared/otterizecloud/otterizecloudclient/cloud_client.go @@ -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