mirror of
https://github.com/cupcakearmy/ora.git
synced 2024-12-22 16:16:23 +00:00
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 = {
|
const where = {
|
||||||
$and: [{ timestamp: { $gt: start } }, { timestamp: { $lt: end } }],
|
$and: [{ timestamp: { $gt: start } }, { timestamp: { $lt: end } }],
|
||||||
}
|
}
|
||||||
console.log(host)
|
|
||||||
if (host) where.host = host
|
if (host) where.host = host
|
||||||
console.log('Where', where)
|
|
||||||
return await Logs.find(where)
|
return await Logs.find(where)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user