let -> const
This commit is contained in:
1 parent
155adf549e
commit
1788cda5c2
1 file changed
+2
-2
@@ -987,7 +987,7 @@ const buildMonitorsWithChecksByTeamIdPipeline = ({ matchStage, filter, page, row
|
|||||||
|
|
||||||
// Add checks
|
// Add checks
|
||||||
if (limit) {
|
if (limit) {
|
||||||
let checksCollection = "checks";
|
const checksCollection = "checks";
|
||||||
monitorsPipeline.push({
|
monitorsPipeline.push({
|
||||||
$lookup: {
|
$lookup: {
|
||||||
from: checksCollection,
|
from: checksCollection,
|
||||||
@@ -1052,7 +1052,7 @@ const buildFilteredMonitorsByTeamIdPipeline = ({ matchStage, filter, page, rowsP
|
|||||||
|
|
||||||
// Add checks
|
// Add checks
|
||||||
if (limit) {
|
if (limit) {
|
||||||
let checksCollection = "checks";
|
const checksCollection = "checks";
|
||||||
|
|
||||||
pipeline.push({
|
pipeline.push({
|
||||||
$lookup: {
|
$lookup: {
|
||||||
|
|||||||
Reference in new issue
Block a user