remove debug
This commit is contained in:
parent
13933c3fb2
commit
0b84a24527
2 changed files with 0 additions and 3 deletions
|
|
@ -178,7 +178,6 @@ function upsert (dbTx, preProcessedTx) {
|
||||||
|
|
||||||
function insert (tx) {
|
function insert (tx) {
|
||||||
const dbTx = massage(tx)
|
const dbTx = massage(tx)
|
||||||
|
|
||||||
const sql = pgp.helpers.insert(dbTx, null, 'cash_in_txs') + ' returning *'
|
const sql = pgp.helpers.insert(dbTx, null, 'cash_in_txs') + ' returning *'
|
||||||
return db.one(sql)
|
return db.one(sql)
|
||||||
.then(toObj)
|
.then(toObj)
|
||||||
|
|
|
||||||
|
|
@ -276,8 +276,6 @@ app.get('/tx', getPhoneTx)
|
||||||
|
|
||||||
app.use(errorHandler)
|
app.use(errorHandler)
|
||||||
app.use((req, res) => {
|
app.use((req, res) => {
|
||||||
console.log('DEBUG98')
|
|
||||||
console.log(req.route)
|
|
||||||
res.status(404).json({error: 'No such route'})
|
res.status(404).json({error: 'No such route'})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue