From 8c6e1def7422aea751a65a4e5d52b83166e9a062 Mon Sep 17 00:00:00 2001 From: wachira-zippy <127627435+wachira-zippy@users.noreply.github.com> Date: Tue, 28 Mar 2023 07:48:28 +0300 Subject: [PATCH] Update merchant_model.js --- merchant_model.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/merchant_model.js b/merchant_model.js index acafb33..13b7705 100644 --- a/merchant_model.js +++ b/merchant_model.js @@ -3,11 +3,13 @@ require('dotenv').config(); const Pool = require('pg').Pool const pool = new Pool({ - user: process.env.USER, - host: process.env.HOST, - database: process.env.DATABASE, - password: process.env.PASSWORD, - port: process.env.PORT, + connectionLimit: 10, + user: "postgres", + host: "factsDB.abcdefg.eu-west-2.rds.amazonaws.com", + database: "database_usuario", + password: "Tecnologia123*", + port: 5432, + debug: false }); const getMerchants = () => { @@ -63,4 +65,4 @@ module.exports = { createMerchant, updateMerchant, deleteMerchant, -} \ No newline at end of file +}