Skip to content

Commit 11ee4c9

Browse files
authored
Merge pull request #31 from HTTPArchive/development
changing to start=latest
2 parents df2d53d + ad7808c commit 11ee4c9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

functions/adoption/libs/queries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def list_data(params):
2020
technology_array = convert_to_array(params['technology'])
2121
data = []
2222

23-
if 'end' in params and params['end'] == 'latest':
23+
if 'start' in params and params['start'] == 'latest':
2424
params['start'] = get_latest_date()
2525

2626
for technology in technology_array:

functions/cwvtech/libs/queries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def list_data(params):
1919
technology_array = convert_to_array(params['technology'])
2020
data = []
2121

22-
if 'end' in params and params['end'] == 'latest':
22+
if 'start' in params and params['start'] == 'latest':
2323
params['start'] = get_latest_date()
2424

2525
for technology in technology_array:

functions/lighthouse/libs/queries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def list_data(params):
2020
technology_array = convert_to_array(params['technology'])
2121
data = []
2222

23-
if 'end' in params and params['end'] == 'latest':
23+
if 'start' in params and params['start'] == 'latest':
2424
params['start'] = get_latest_date()
2525

2626
for technology in technology_array:

functions/page-weight/libs/queries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def list_data(params):
2020
technology_array = convert_to_array(params['technology'])
2121
data = []
2222

23-
if 'end' in params and params['end'] == 'latest':
23+
if 'start' in params and params['start'] == 'latest':
2424
params['start'] = get_latest_date()
2525

2626
for technology in technology_array:

0 commit comments

Comments
 (0)