From a9d4ab829bca1e799b0f3896178a00fc7c6f5d24 Mon Sep 17 00:00:00 2001 From: Deventual Date: Thu, 3 Aug 2017 14:22:48 +0300 Subject: [PATCH] Update api.py --- pymisp/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pymisp/api.py b/pymisp/api.py index 859fcb6..f0e0288 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -392,6 +392,8 @@ class PyMISP(object): else: url = urljoin(self.root_url, 'events/alert/{}'.format(event_id)) response = session.post(url) + return self._check_response(response) + def change_threat_level(self, event, threat_level_id): e = self._make_mispevent(event)