Skip to content

Commit

Permalink
Fix displayName for rosters
Browse files Browse the repository at this point in the history
  • Loading branch information
vasqued2 committed Jan 25, 2025
1 parent 5890cb7 commit 2970597
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/teamtracker/set_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ async def async_set_universal_values(
"team",
"displayName",
default=await async_get_value(competitor, "athlete", "displayName",
default=await async_get_value(competitor, "roster", "DisplayName")
default=await async_get_value(competitor, "roster", "displayName")
),
)
new_values["opponent_name"] = await async_get_value(
Expand All @@ -292,7 +292,7 @@ async def async_set_universal_values(
"team",
"displayName",
default=await async_get_value(opponent, "athlete", "displayName",
default=await async_get_value(opponent, "roster", "DisplayName")
default=await async_get_value(opponent, "roster", "displayName")
),
)

Expand Down

0 comments on commit 2970597

Please sign in to comment.