Skip to content

Commit

Permalink
Merge pull request #23 from StegSchreck/fix/get_group_users_url_typo
Browse files Browse the repository at this point in the history
Fix broken URL templating for get_group_users
  • Loading branch information
m4ce authored Apr 23, 2024
2 parents 8278d3c + 705140f commit dfd4ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crowd_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_group_users(self, **kwargs):
if "groupname" not in kwargs:
raise ValueError("Must pass username")

req = self.api_get("/group/user/direct?groupname={}&max-results={}}&start-index={}".format(
req = self.api_get("/group/user/direct?groupname={}&max-results={}&start-index={}".format(
kwargs['groupname'], kwargs.get('max_results', 1000), kwargs.get('start_index', 0)))
if req.status_code == 200:
for user in req.json()['users']:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.core import setup

version = '0.0.9'
version = '0.0.10'

setup(
name='crowd-api',
Expand Down

0 comments on commit dfd4ff4

Please sign in to comment.