From 705140f9ff4cb007d399e5cb97a3f9bda7892f19 Mon Sep 17 00:00:00 2001 From: Sebastian Schreck Date: Tue, 23 Apr 2024 16:04:18 +0200 Subject: [PATCH] Fix Typo in URL for get_group_users --- crowd_api/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crowd_api/__init__.py b/crowd_api/__init__.py index e354829..e208fb4 100644 --- a/crowd_api/__init__.py +++ b/crowd_api/__init__.py @@ -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']: diff --git a/setup.py b/setup.py index 4f1389e..1bb2314 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup -version = '0.0.9' +version = '0.0.10' setup( name='crowd-api',