mirror of https://github.com/cupcakearmy/ora.git
remove console log
This commit is contained in:
parent
c0d5242763
commit
2e4ec02aa7
|
@ -12,9 +12,7 @@ export async function getLogsBetweenDates({ start, end, host }) {
|
|||
const where = {
|
||||
$and: [{ timestamp: { $gt: start } }, { timestamp: { $lt: end } }],
|
||||
}
|
||||
console.log(host)
|
||||
if (host) where.host = host
|
||||
console.log('Where', where)
|
||||
return await Logs.find(where)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue