I see you are using one database https://github.com/FACG2/GSG_Orders_Manager/blob/master/database/db_connection.js#L8 and I assume it's the database hosted on heroku, and because heroku asks for a secure connection from outside of heruko. Use this line instead: ``` const pool = new Pool({connectionString: data_url, ssl: true}); ```
I see you are using one database https://github.com/FACG2/GSG_Orders_Manager/blob/master/database/db_connection.js#L8 and I assume it's the database hosted on heroku, and because heroku asks for a secure connection from outside of heruko.
Use this line instead: