From e38acfd1e5446b6a1d1b8bb618642c7411451c69 Mon Sep 17 00:00:00 2001 From: Gage Krumbach Date: Thu, 9 May 2024 08:42:47 -0500 Subject: [PATCH] Fix DEV_MODE import in mlmd service Remove DEV_MODE import in mlmd service --- backend/src/routes/api/service/mlmd/index.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/backend/src/routes/api/service/mlmd/index.ts b/backend/src/routes/api/service/mlmd/index.ts index 623d295c49..68707681d8 100644 --- a/backend/src/routes/api/service/mlmd/index.ts +++ b/backend/src/routes/api/service/mlmd/index.ts @@ -1,9 +1,7 @@ -import { DEV_MODE } from '../../../../utils/constants'; import { DSPipelineKind } from '../../../../types'; import { proxyService } from '../../../../utils/proxy'; -export default DEV_MODE - ? proxyService( +export default proxyService( { apiGroup: 'datasciencepipelinesapplications.opendatahub.io', apiVersion: 'v1alpha1', @@ -27,7 +25,3 @@ export default DEV_MODE ), false, ) - : async () => { - // do nothing - // service is only registered in DEV_MODE - };