fixed add-members-to-group bug
@@ -327,7 +327,7 @@ class Client(object):
def add_member(group,members):
response = requests.put(self.groups_url + '/members', json = {'id': group, 'members': members}, headers = self.headers)
response = self.__handle_response(response)
- return self.get_group(response.json())
+ return self.get_group(response.json()['id'])
member_type = type(members)
if member_type == str or member_type == unicode:
