Skip to content

Commit

Permalink
change in proxy utils
Browse files Browse the repository at this point in the history
  • Loading branch information
arunpilli21 committed Aug 11, 2021
1 parent 35d3dd5 commit 85a39e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/proxyUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 85a39e7

Please sign in to comment.