mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-31 06:10:07 -06:00
remove console log
This commit is contained in:
@@ -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 },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user