diff --git a/lib/cash-in-tx.js b/lib/cash-in-tx.js index 384b679e..7d336d33 100644 --- a/lib/cash-in-tx.js +++ b/lib/cash-in-tx.js @@ -178,7 +178,6 @@ function upsert (dbTx, preProcessedTx) { function insert (tx) { const dbTx = massage(tx) - const sql = pgp.helpers.insert(dbTx, null, 'cash_in_txs') + ' returning *' return db.one(sql) .then(toObj) diff --git a/lib/routes.js b/lib/routes.js index 7b939a6d..8c777f6e 100644 --- a/lib/routes.js +++ b/lib/routes.js @@ -276,8 +276,6 @@ app.get('/tx', getPhoneTx) app.use(errorHandler) app.use((req, res) => { - console.log('DEBUG98') - console.log(req.route) res.status(404).json({error: 'No such route'}) })