From 85a39e79c33c51762a5c72884e96bcab99074a7b Mon Sep 17 00:00:00 2001 From: pilliarunkumar Date: Wed, 11 Aug 2021 13:02:27 +0530 Subject: [PATCH] change in proxy utils --- proxy/proxyUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/proxyUtils.js b/proxy/proxyUtils.js index 71c2bd6..4301a2b 100644 --- a/proxy/proxyUtils.js +++ b/proxy/proxyUtils.js @@ -41,9 +41,9 @@ let error_obj = { const decorateRequestHeaders = function () { return function (proxyReqOpts) { logger.info({message: `adding headers in the request ${proxyReqOpts.path}`}); - if (userCreate === proxyReqOpts.path || groupCreate === proxyReqOpts.path) { + // if (userCreate === proxyReqOpts.path || groupCreate === proxyReqOpts.path) { proxyReqOpts.headers.Authorization = 'Bearer ' + Authorization; - } + // } return proxyReqOpts; } }