Skip to content

Commit d8c0903

Browse files
author
ExpDev07
committed
fixed bug where latest show different values in legacy API and v2
1 parent 8959cd0 commit d8c0903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/location/jhu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_category(category):
6060
country = item['Country/Region']
6161

6262
# Latest data insert value.
63-
latest = list(sorted(history.values()))[-1];
63+
latest = list(history.values())[-1];
6464

6565
# Normalize the item and append to locations.
6666
locations.append({

0 commit comments

Comments
 (0)