remove console log

This commit is contained in:
Alex Holliday
2025-01-27 07:15:07 -08:00
parent 4624a51a80
commit 6a08097be1
2 changed files with 0 additions and 11 deletions

View File

@@ -497,7 +497,6 @@ const getMonitorById = async (monitorId) => {
const getMonitorsByTeamId = async (req) => {
let { limit, type, page, rowsPerPage, filter, field, order } = req.query;
console.log("req.query", req.query);
limit = parseInt(limit);
page = parseInt(page);
rowsPerPage = parseInt(rowsPerPage);
@@ -513,15 +512,6 @@ const getMonitorsByTeamId = async (req) => {
const skip = page && rowsPerPage ? page * rowsPerPage : 0;
const sort = { [field]: order === "asc" ? 1 : -1 };
console.log("limit", limit);
console.log("page", page);
console.log("rowsPerPage", rowsPerPage);
console.log("filter", filter);
console.log("field", field);
console.log("order", order);
console.log("skip", skip);
console.log("sort", sort);
const results = await Monitor.aggregate([
{ $match: matchStage },
{