From 42e79043200e0c4216948e73223227da66dfe37a Mon Sep 17 00:00:00 2001 From: Mirko Teodorovic Date: Wed, 7 Aug 2024 13:50:07 +0200 Subject: [PATCH] fix: [CDS-99254]: Fix gitops mapping v2 api (#554) Signed-off-by: Mirko Teodorovic --- harness/nextgen/api_project_mappings.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/harness/nextgen/api_project_mappings.go b/harness/nextgen/api_project_mappings.go index edb12563..d3caf982 100644 --- a/harness/nextgen/api_project_mappings.go +++ b/harness/nextgen/api_project_mappings.go @@ -862,7 +862,7 @@ func (a *ProjectMappingsApiService) AppProjectMappingServiceGetAppProjectMapping localVarQueryParams.Add("projectIdentifier", parameterToString(localVarOptionals.ProjectIdentifier.Value(), "")) } if localVarOptionals != nil && localVarOptionals.ArgoProjectName.IsSet() { - localVarQueryParams.Add("argoProjectIdentifier", parameterToString(localVarOptionals.ArgoProjectName.Value(), "")) + localVarQueryParams.Add("argoProjectName", parameterToString(localVarOptionals.ArgoProjectName.Value(), "")) } // to determine the Content-Type header localVarHttpContentTypes := []string{} @@ -1004,7 +1004,7 @@ func (a *ProjectMappingsApiService) AppProjectMappingServiceGetAppProjectMapping localVarQueryParams.Add("projectIdentifier", parameterToString(localVarOptionals.ProjectIdentifier.Value(), "")) } if localVarOptionals != nil && localVarOptionals.ArgoProjectName.IsSet() { - localVarQueryParams.Add("argoProjectIdentifier", parameterToString(localVarOptionals.ArgoProjectName.Value(), "")) + localVarQueryParams.Add("argoProjectName", parameterToString(localVarOptionals.ArgoProjectName.Value(), "")) } // to determine the Content-Type header localVarHttpContentTypes := []string{}