diff --git a/src/render_site.py b/src/render_site.py index 79eae9c..a1e84da 100644 --- a/src/render_site.py +++ b/src/render_site.py @@ -460,14 +460,14 @@ def get_player_list() -> List[Dict]: " WHERE user_ratings.user_id = users.id AND user_ratings.rating_type = 0" " ORDER BY league_id DESC" " LIMIT 1" - " ) ON TRUE " + " ) AS nv_rating_table ON TRUE " " LEFT JOIN LATERAL (" " SELECT value_after AS cs_rating" " FROM user_ratings" " WHERE user_ratings.user_id = users.id AND user_ratings.rating_type = 1" " ORDER BY league_id DESC" " LIMIT 1" - " ) ON TRUE " + " ) AS cs_rating_table ON TRUE " ")" "SELECT" " player_name AS name,"