mirror of https://github.com/MISP/PyMISP
Bug fix: get_index now works properly and return the events index
An bug was introduced and appending "{}" to the /index url which gives a 404 on a MISP server.pull/2/merge
parent
2c8c4abe09
commit
e0b781c033
|
@ -66,7 +66,7 @@ class PyMISP(object):
|
||||||
Warning, there's a limit on the number of results
|
Warning, there's a limit on the number of results
|
||||||
"""
|
"""
|
||||||
session = self.__prepare_session()
|
session = self.__prepare_session()
|
||||||
return session.get(self.rest)
|
return session.get(self.url)
|
||||||
|
|
||||||
def get_event(self, event_id):
|
def get_event(self, event_id):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue