merge operation
This commit is contained in:
commit
1621e8e254
2 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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'})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue