Skip to content

Commit 1a8c5c6

Browse files
authored
Fix wrong named argument for ClientSession.request
1 parent 436003f commit 1a8c5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/monta/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ async def _api_wrapper(
206206
async with async_timeout.timeout(10):
207207
response = await self._session.request(
208208
method=method,
209-
path=f"{base_url}/{path}",
209+
url=f"{base_url}/{path}",
210210
headers=all_headers,
211211
json=data,
212212
)

0 commit comments

Comments
 (0)