This commit is contained in:
mihalin 2021-09-10 01:00:19 +03:00
parent b4b1129324
commit dad7fe66c9

View File

@ -68,8 +68,9 @@ class CustomRequestHandler(WebhookRequestHandler):
async def post(self): async def post(self):
# TODO: refactor # TODO: refactor
self._dispatcher = await self._create_dispatcher() self._dispatcher = await self._create_dispatcher()
await super(CustomRequestHandler, self).post() res = await super(CustomRequestHandler, self).post()
self._dispatcher = None self._dispatcher = None
return res
def get_dispatcher(self): def get_dispatcher(self):
""" """