Browse Source

Fix Passbolt API URL

feature/dev-no-passbolt
Sven Seeberg 2 years ago
parent
commit
1d85bcb871
Signed by: sven.seeberg GPG Key ID: 29559DD5A83806B5
  1. 2
      setup.py
  2. 2
      src/salt_passbolt/__init__.py

2
setup.py

@ -7,7 +7,7 @@ from setuptools import find_packages, setup
setup(
name="salt-passbolt",
version="1.0.0",
version="1.0.1",
packages=find_packages("src"),
package_dir={'': 'src'},
include_package_data=True,

2
src/salt_passbolt/__init__.py

@ -9,7 +9,7 @@ def get_password_list(passbolt_obj, group_uuid):
Get list of passwords for group UUID
"""
result = list()
url = ("/resources.json?/resources.json?filter[is-shared-with-group]" +
url = ("/resources.json?filter[is-shared-with-group]" +
"={}&api-version=v2".format(group_uuid))
for i in passbolt_obj.get(url)["body"]: # pylint: disable=C0301
result.append({

Loading…
Cancel
Save