chenwardT / lol_stats2

Website to perform match aggregation and analysis for Riot Games' League of Legends.
2 stars 0 forks source link

League object's `region` field should be uppercase #2

Closed chenwardT closed 8 years ago

chenwardT commented 8 years ago

All models should store regions as uppercase, e.g. "NA", "EUW", etc, but League objects are stored as lowercase, which is a holdover from passing RiotWatcher args (which must be lowercase) onto storage mechanisms.

chenwardT commented 8 years ago

Fixed by https://github.com/chenwardT/lol_stats2/commit/8c106e182a7d42bcd3219789ce9010152f2d38b7