diff --git a/pkg/api/resourceInstances.go b/pkg/api/resourceInstances.go index 58465b7..2b023ac 100644 --- a/pkg/api/resourceInstances.go +++ b/pkg/api/resourceInstances.go @@ -67,7 +67,7 @@ func (r *ResourceInstances) Delete( return err } - httpRes, err := r.client.ResouceInstances.DeleteResourceInstance(ctx, + httpRes, err := r.client.ResourceInstances.DeleteResourceInstance(ctx, r.config.Context.GetProject(), r.config.Context.GetEnvironment(), instanceId, @@ -94,7 +94,7 @@ func (r *ResourceInstances) Get( return nil, err } - retrieved, httpRes, err := r.client.ResouceInstances.GetResourceInstance(ctx, + retrieved, httpRes, err := r.client.ResourceInstances.GetResourceInstance(ctx, r.config.Context.GetProject(), r.config.Context.GetEnvironment(), instanceId, diff --git a/pkg/openapi/client.go b/pkg/openapi/client.go index e7edda2..24a4e4a 100644 --- a/pkg/openapi/client.go +++ b/pkg/openapi/client.go @@ -70,7 +70,7 @@ type APIClient struct { ProjectsApi *ProjectsApiService ProxyConfigAPI *ProxyConfigAPIService RelationshipTuplesApi *RelationshipTuplesAPIService - ResouceInstances *ResourceInstancesApiService + ResourceInstances *ResourceInstancesApiService ResourceActionGroupsApi *ResourceActionGroupsApiService ResourceActionsApi *ResourceActionsApiService ResourceAttributesApi *ResourceAttributesApiService @@ -126,7 +126,6 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.ResourceActionsApi = (*ResourceActionsApiService)(&c.common) c.ResourceAttributesApi = (*ResourceAttributesApiService)(&c.common) c.ResourceInstancesApi = (*ResourceInstancesApiService)(&c.common) - c.ResourceInstancesApi = (*ResourceInstancesApiService)(&c.common) c.ResourceRelations = (*ResourceRelationsAPIService)(&c.common) c.ResourceRoles = (*ResourceRolesApiService)(&c.common) c.ResourcesApi = (*ResourcesApiService)(&c.common)