Add /api/customers endpoint in admin
This commit is contained in:
parent
685b327fb6
commit
f8f7f87cca
2 changed files with 13 additions and 1 deletions
|
|
@ -32,4 +32,9 @@ function getDailyVolume (id) {
|
|||
})
|
||||
}
|
||||
|
||||
module.exports = { add, get }
|
||||
function batch () {
|
||||
const sql = 'select * from customers'
|
||||
return db.any(sql)
|
||||
}
|
||||
|
||||
module.exports = { add, get, batch }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue