fix: removed unnecessary support log code from server

This commit is contained in:
Liordino Neto 2020-10-28 00:09:21 -03:00 committed by Josh Harvey
parent 1f7b517c07
commit a1cc7cad13
4 changed files with 15 additions and 77 deletions

View file

@ -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 }