From df9b223802d341346389d50a7ed12a3dc5596bb4 Mon Sep 17 00:00:00 2001 From: Willian Viana Date: Wed, 8 Nov 2023 14:45:29 -0300 Subject: [PATCH] DO NOT MERGE THIS COMMIT: Removing production layers from preproduction environment --- services/datasets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/datasets.js b/services/datasets.js index 4d1b819d71..c5ddd985bc 100644 --- a/services/datasets.js +++ b/services/datasets.js @@ -2,9 +2,9 @@ import { rwRequest, dataRequest } from 'utils/request'; const environmentString = () => { const env = process.env.NEXT_PUBLIC_FEATURE_ENV; - let envString = 'production'; + const envString = 'production'; if (env === 'preproduction') { - envString += ',preproduction'; + return 'preproduction'; } if (env === 'staging') { return 'staging';