Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
damien-duignan committed Jun 9, 2020
1 parent 4d24a5c commit 499a191
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routes/products.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function toProduct(row) {
}

router.get("/", async (req, res) => {
console.log('connectionstring: ', process.env.CONNECTION_STRING)
const { rows } = await db.query("SELECT id, title, content, created_at FROM products");
res.setHeader("Access-Control-Allow-Origin", "*");
res.json(rows.map(toProduct));
Expand Down

0 comments on commit 499a191

Please sign in to comment.