From dff3855da5ea813a884deae1bb97c49d2bcf93f8 Mon Sep 17 00:00:00 2001 From: Omer Cohen Date: Mon, 28 Aug 2023 17:47:05 +0300 Subject: [PATCH] Update environment_variable_create.go --- client/environment_variable_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/environment_variable_create.go b/client/environment_variable_create.go index bd6d7d7c..f0ed920e 100644 --- a/client/environment_variable_create.go +++ b/client/environment_variable_create.go @@ -54,7 +54,7 @@ type CreateEnvironmentVariablesRequest struct { } func (c *Client) CreateEnvironmentVariables(ctx context.Context, request CreateEnvironmentVariablesRequest) error { - url := fmt.Sprintf("%s/v9/projects/%s/env", c.baseURL, request.ProjectID) + url := fmt.Sprintf("%s/v10/projects/%s/env", c.baseURL, request.ProjectID) if c.teamID(request.TeamID) != "" { url = fmt.Sprintf("%s?teamId=%s", url, c.teamID(request.TeamID)) }