mirror of https://github.com/MISP/misp-modules
coroutine decorator added to post handler
parent
bf29e30e4b
commit
6ba2731eb5
|
@ -167,6 +167,7 @@ class ListModules(tornado.web.RequestHandler):
|
|||
|
||||
|
||||
class QueryModule(tornado.web.RequestHandler):
|
||||
@tornado.gen.coroutine
|
||||
def post(self):
|
||||
global mhandlers
|
||||
jsonpayload = self.request.body.decode('utf-8')
|
||||
|
|
Loading…
Reference in New Issue