diff --git a/backend/models/pipelines.py b/backend/models/pipelines.py index 6948b35..72a1807 100644 --- a/backend/models/pipelines.py +++ b/backend/models/pipelines.py @@ -33,7 +33,7 @@ def bitcoin_business_growth_timeseries(query): pipeline = [ { "$match": { - "days_ago": {"$lte": int( query["days_ago"] )}, + "days_ago": {"$lte": int(query["days_ago"])}, "country_name": query["country_name"], } }, @@ -51,7 +51,7 @@ def bitcoin_business_growth_timeseries(query): def bitcoin_business_growth_percent_diff_days_ago(query): pipeline = [ - {"$match": {"days_ago": {"$lte": int( query["days_ago"] )}}}, + {"$match": {"days_ago": {"$lte": int(query["days_ago"])}}}, {"$sort": {"country_name": 1, "days_ago": 1}}, { "$group": {