diff options
-rw-r--r-- | crowdrest/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crowdrest/backend.py b/crowdrest/backend.py index 595955b..ac01f89 100644 --- a/crowdrest/backend.py +++ b/crowdrest/backend.py @@ -293,7 +293,7 @@ class CrowdRestClient(object): "Query for groups of given user and return dict of group fields from Crowd." try: crowd_logger.debug("Fetching groups of '%s'..."%username) - url = self._url+"/user/group/direct.json?username=%s"%username + url = self._url+"/user/group/nested.json?username=%s"%username u = self._opener.open(url) return json.loads(u.read()) except urllib2.URLError, e: |