diff --git a/scripts/scheduled/metrics.py b/scripts/scheduled/metrics.py index 46f74a3bac..1e61330fed 100644 --- a/scripts/scheduled/metrics.py +++ b/scripts/scheduled/metrics.py @@ -21,10 +21,10 @@ contributors = len(contributors) # Number of Links -links = db.links.count_documents() +links = db.links.count_documents({}) # Number of Source sheets -sheets = db.sheets.count_documents() +sheets = db.sheets.count_documents({}) metrics = { "timestamp": datetime.datetime.now().replace(hour=0, minute=0, second=0, microsecond=0),