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: