test - get devices

This commit is contained in:
Swapnil 2024-05-08 00:32:25 +05:30
parent 2ad682b1b1
commit 99cbc58b53
Signed by: swapnil
GPG Key ID: 58029C48BB100574
1 changed files with 3 additions and 2 deletions

View File

@ -190,8 +190,9 @@ def run_module():
argument_spec=module_args
)
module2 = SyncthingModule(
api_url='/rest/config/devices',
module = SyncthingModule(
api_url='/rest/config/folders',
argument_spec=module_args
)
if module.params['state'] != 'absent' and not module.params['path']: