AthletiFi / athletifi-website

Official website for AthletiFi
https://www.athleti.fi
1 stars 5 forks source link

Resolve incorrect player ids in player_card_images table #344

Closed qisforq closed 3 days ago

chef-louis commented 3 days ago

This isn't an issue with player_ids. We were looking at player_identity which lines up with the player_identities table. The player_card_images table lines up with player_id which comes from the players_team_info table instead.

Separately, the rendering issue was coming from a console log that was trying to access a null field. Removing the console log fixes the problem and I'm adding a separate task to clean up console logs throughout the application before migrating to prod.