From 2db5a588dfcd1ab95ae75b4b8349d8168fa8e479 Mon Sep 17 00:00:00 2001
From: Sourav Dey <sourav_d@techjoomla.com>
Date: Thu, 29 Nov 2018 11:10:41 +0530
Subject: [PATCH] Issue #SB-9180 feat: Changing procy middleware

---
 src/service/lockService.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/service/lockService.js b/src/service/lockService.js
index eb0b6b2..c2414d1 100644
--- a/src/service/lockService.js
+++ b/src/service/lockService.js
@@ -383,8 +383,7 @@ function checkResourceTypeValidation (req, CBW) {
   switch (lodash.lowerCase(req.body.request.resourceType)) {
   case 'content':
     var httpOptions = {
-      // url: configUtil.getConfig('SUNBIRD_PORTAL_BASE_URL') + '/api/v1/content/getContentLock',
-      url: 'http://localhost:5000/v1/content/getContentLock',
+      url: configUtil.getConfig('SUNBIRD_PORTAL_BASE_URL') + '/api/v1/content/getContentLock',
       headers: req.headers,
       method: 'POST',
       body: req.body,
-- 
GitLab