fix: removed unnecessary support log code from server
This commit is contained in:
parent
1f7b517c07
commit
a1cc7cad13
4 changed files with 15 additions and 77 deletions
|
|
@ -14,11 +14,4 @@ function getServerLogs (from = new Date(0).toISOString(), until = new Date().toI
|
|||
.then(_.map(_.mapKeys(_.camelCase)))
|
||||
}
|
||||
|
||||
function insert () {
|
||||
const sql = `insert into server_support_logs
|
||||
(id) values ($1) returning *`
|
||||
return db.one(sql, [uuid.v4()])
|
||||
.then(_.mapKeys(_.camelCase))
|
||||
}
|
||||
|
||||
module.exports = { getServerLogs, insert }
|
||||
module.exports = { getServerLogs }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue