Skip to content

Commit

Permalink
Pass correct parameter when resolving media via WS
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Apr 6, 2023
1 parent a019529 commit 7ac20e6
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 @@ -189,7 +189,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 7ac20e6

Please sign in to comment.