From b435a262822295287c5a01f41383f80ae2ac4924 Mon Sep 17 00:00:00 2001 From: Kristin Merbach Date: Wed, 25 Oct 2023 07:39:16 -0700 Subject: [PATCH] rename envs --- apps/ite-portal/src/app/app.module.ts | 4 ++-- apps/ite-portal/src/environments/environment.prod.ts | 4 ++-- apps/ite-portal/src/environments/environment.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/ite-portal/src/app/app.module.ts b/apps/ite-portal/src/app/app.module.ts index 284fd104..6b0d5008 100644 --- a/apps/ite-portal/src/app/app.module.ts +++ b/apps/ite-portal/src/app/app.module.ts @@ -52,8 +52,8 @@ const isIE = window.navigator.userAgent.includes('MSIE ') || window.navigator.userAgent.includes('Trident/'); -const NX_AD_CLIENT_ID = environment.adClientId || ''; -const NX_AD_TID = environment.adTid || ''; +const NX_AD_CLIENT_ID = environment.NX_AD_CLIENT_ID || ''; +const NX_AD_TID = environment.NX_AD_TID_PROD || ''; const readScope = `api://${NX_AD_CLIENT_ID}/Read`; const gatewayApiUrl = environment.gatewayApi || ''; const portalApiUrl = environment.portalApi || ''; diff --git a/apps/ite-portal/src/environments/environment.prod.ts b/apps/ite-portal/src/environments/environment.prod.ts index e746bf35..b5d38a7c 100644 --- a/apps/ite-portal/src/environments/environment.prod.ts +++ b/apps/ite-portal/src/environments/environment.prod.ts @@ -5,6 +5,6 @@ export const environment = { production: true, gatewayApi: 'https://api-provider.dbh.dc.gov', portalApi: 'https://api-portal.dbh.dc.gov', - adClientId: process.env['NX_AD_CLIENT_ID_PROD'], - adTid: process.env['NX_AD_TID_PROD'], + NX_AD_CLIENT_ID: process.env['NX_AD_CLIENT_ID_PROD'], + NX_AD_TID_PROD: process.env['NX_AD_TID_PROD'], }; diff --git a/apps/ite-portal/src/environments/environment.ts b/apps/ite-portal/src/environments/environment.ts index bcfd1ec2..d246dddd 100644 --- a/apps/ite-portal/src/environments/environment.ts +++ b/apps/ite-portal/src/environments/environment.ts @@ -7,8 +7,8 @@ export const environment = { production: false, gatewayApi: 'https://api.provider.dev.dbhite.com', portalApi: 'https://api.portal.dev.dbhite.com', - adClientId: process.env['NX_AD_CLIENT_ID'], - adTid: process.env['NX_AD_TID'], + NX_AD_CLIENT_ID: process.env['NX_AD_CLIENT_ID'], + NX_AD_TID_PROD: process.env['NX_AD_TID'], }; /*