Update path to roles API

pull/100/head
Raphaël Vinot 2017-07-31 17:28:47 +02:00
parent 622a5701ee
commit 533b69d944
1 changed files with 1 additions and 1 deletions

View File

@ -1454,7 +1454,7 @@ class PyMISP(object):
def get_roles_list(self): def get_roles_list(self):
session = self.__prepare_session() session = self.__prepare_session()
url = urljoin(self.root_url, '/admin/roles') url = urljoin(self.root_url, '/roles')
response = session.get(url) response = session.get(url)
return self._check_response(response)['response'] return self._check_response(response)['response']