diff --git a/frontend/src/__tests__/cypress/cypress/e2e/modelServing/ModelMetrics.cy.ts b/frontend/src/__tests__/cypress/cypress/e2e/modelServing/ModelMetrics.cy.ts index e6339c2f4a..320c1691f7 100644 --- a/frontend/src/__tests__/cypress/cypress/e2e/modelServing/ModelMetrics.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/e2e/modelServing/ModelMetrics.cy.ts @@ -190,7 +190,7 @@ const initIntercepts = ({ { method: 'GET', pathname: - '/api/k8s/apis/trustyai.opendatahub.io.trustyai.opendatahub.io/v1alpha1/namespaces/test-project/trustyaiservices/trustyai-service', + '/api/k8s/apis/trustyai.opendatahub.io/v1alpha1/namespaces/test-project/trustyaiservices/trustyai-service', }, mockTrustyAIServiceK8sResource(), ); diff --git a/frontend/src/api/models/trustyai.ts b/frontend/src/api/models/trustyai.ts index fbbf24a7d3..9b3af0ee35 100644 --- a/frontend/src/api/models/trustyai.ts +++ b/frontend/src/api/models/trustyai.ts @@ -2,7 +2,7 @@ import { K8sModelCommon } from '@openshift/dynamic-plugin-sdk-utils'; export const TrustyAIApplicationsModel: K8sModelCommon = { apiVersion: 'v1alpha1', - apiGroup: 'trustyai.opendatahub.io.trustyai.opendatahub.io', + apiGroup: 'trustyai.opendatahub.io', kind: 'TrustyAIService', plural: 'trustyaiservices', };