mirror of
https://gitlab.com/famedly/ansible/modules/matrix.git
synced 2024-05-15 02:36:43 +00:00
fix logout
This commit is contained in:
parent
f97f8cf56c
commit
abe098ae7c
|
@ -80,7 +80,7 @@ async def run_module():
|
|||
|
||||
# create a client object
|
||||
client = AsyncClient(module.params['hs_url'])
|
||||
client.access_token = module.params['access_token']
|
||||
client.access_token = module.params['token']
|
||||
# log out
|
||||
await client.logout()
|
||||
# close client sessions
|
||||
|
|
Loading…
Reference in a new issue