From 7bbfaebebbbf5d628ab354fcc10bcc466dc6666f Mon Sep 17 00:00:00 2001 From: suseendhiran17 <58357088+suseendhiran17@users.noreply.github.com> Date: Tue, 12 Jul 2022 12:42:38 +0530 Subject: [PATCH] suseendhiran , two field added in pp api --- app/controllers/credit.policy.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/credit.policy.controller.js b/app/controllers/credit.policy.controller.js index 4cf346e..c5c4455 100644 --- a/app/controllers/credit.policy.controller.js +++ b/app/controllers/credit.policy.controller.js @@ -7,7 +7,7 @@ const { logMsg } = require('../services/logger.js'); { try { - sequelize.query('SELECT section_master.section , policy_parameter_master.parameter , policy_parameter_master.rules FROM policy_parameter_master JOIN section_master ON policy_parameter_master.section_id = section_master.id and section_master.is_active = 1 where policy_parameter_master.is_active = 1 ') + sequelize.query('SELECT section_master.section , policy_parameter_master.parameter , policy_parameter_master.rules , policy_parameter_master.master_key , policy_parameter_master.data , policy_parameter_master.json FROM policy_parameter_master JOIN section_master ON policy_parameter_master.section_id = section_master.id and section_master.is_active = 1 where policy_parameter_master.is_active = 1 ') .then(data => { res.send({'status':200,'message':"success",'data':data});