Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed bug where latest show different values in legacy API and v2
  • Loading branch information
ExpDev07 committed Mar 18, 2020
commit d8c0903ef2be7af6e64c15ff3ddb8f11d457dc12
2 changes: 1 addition & 1 deletion app/services/location/jhu.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_category(category):
country = item['Country/Region']

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

# Normalize the item and append to locations.
locations.append({
Expand Down