Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
updated player_dtails
  • Loading branch information
Kudzmat authored Oct 8, 2024
1 parent a4624ce commit 32a0361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nba_stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def player_details(request, player_full_name, player_id):

elif player_info is None:
# Search for the player data
player_headshot, player_bio, player_id = fetch_player_data(player_full_name)
player_headshot, player_bio, player_id = fetch_player_data(player_full_name, player_id)

player_headshot = [player_headshot.player_image_url, player_headshot.background_colour]

Expand Down

0 comments on commit 32a0361

Please sign in to comment.