Skip to content

Commit

Permalink
Fix "__async_get_accounts() takes 1 positional argument but 2 were gi…
Browse files Browse the repository at this point in the history
…ven"
  • Loading branch information
pdcastro committed Mar 5, 2024
1 parent 1466dde commit 7d6bebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/octopus_intelligent/graphql_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def __async_cancel_boost_charge(self, session, account_id: str):
result = await session.execute(query, variable_values=params, operation_name="deleteBoostCharge")
return result['deleteBoostCharge']

async def __async_get_accounts(session):
async def __async_get_accounts(self, session):
# Execute single query
query = gql(
'''
Expand Down

0 comments on commit 7d6bebf

Please sign in to comment.