Skip to content

Commit

Permalink
Pass correct parameter when resolving media via WS (#90897)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Jun 26, 2023
1 parent 021a39a commit a31e899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/media_source/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ async def websocket_resolve_media(
) -> None:
"""Resolve media."""
try:
media = await async_resolve_media(hass, msg["media_content_id"])
media = await async_resolve_media(hass, msg["media_content_id"], None)
except Unresolvable as err:
connection.send_error(msg["id"], "resolve_media_failed", str(err))
return
Expand Down

0 comments on commit a31e899

Please sign in to comment.