From ad7808c08182d9a4c761b3a1b15f37a822b0823b Mon Sep 17 00:00:00 2001 From: Martin Aceto Date: Mon, 23 Dec 2024 11:22:14 -0600 Subject: [PATCH] changing to start=latest --- functions/adoption/libs/queries.py | 2 +- functions/cwvtech/libs/queries.py | 2 +- functions/lighthouse/libs/queries.py | 2 +- functions/page-weight/libs/queries.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/adoption/libs/queries.py b/functions/adoption/libs/queries.py index 432fcd8..026cee9 100644 --- a/functions/adoption/libs/queries.py +++ b/functions/adoption/libs/queries.py @@ -20,7 +20,7 @@ def list_data(params): technology_array = convert_to_array(params['technology']) data = [] - if 'end' in params and params['end'] == 'latest': + if 'start' in params and params['start'] == 'latest': params['start'] = get_latest_date() for technology in technology_array: diff --git a/functions/cwvtech/libs/queries.py b/functions/cwvtech/libs/queries.py index 11aa709..72c8ba6 100644 --- a/functions/cwvtech/libs/queries.py +++ b/functions/cwvtech/libs/queries.py @@ -19,7 +19,7 @@ def list_data(params): technology_array = convert_to_array(params['technology']) data = [] - if 'end' in params and params['end'] == 'latest': + if 'start' in params and params['start'] == 'latest': params['start'] = get_latest_date() for technology in technology_array: diff --git a/functions/lighthouse/libs/queries.py b/functions/lighthouse/libs/queries.py index f654589..09d33c9 100644 --- a/functions/lighthouse/libs/queries.py +++ b/functions/lighthouse/libs/queries.py @@ -20,7 +20,7 @@ def list_data(params): technology_array = convert_to_array(params['technology']) data = [] - if 'end' in params and params['end'] == 'latest': + if 'start' in params and params['start'] == 'latest': params['start'] = get_latest_date() for technology in technology_array: diff --git a/functions/page-weight/libs/queries.py b/functions/page-weight/libs/queries.py index 05af661..8d4d29d 100644 --- a/functions/page-weight/libs/queries.py +++ b/functions/page-weight/libs/queries.py @@ -20,7 +20,7 @@ def list_data(params): technology_array = convert_to_array(params['technology']) data = [] - if 'end' in params and params['end'] == 'latest': + if 'start' in params and params['start'] == 'latest': params['start'] = get_latest_date() for technology in technology_array: