Skip to content

Commit

Permalink
changing to start=latest
Browse files Browse the repository at this point in the history
  • Loading branch information
maceto committed Dec 23, 2024
1 parent 508844c commit ad7808c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion functions/adoption/libs/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion functions/cwvtech/libs/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion functions/lighthouse/libs/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion functions/page-weight/libs/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ad7808c

Please sign in to comment.