diff --git a/apps/ws/consumers.py b/apps/ws/consumers.py index 738a7b26..cc34f5fd 100644 --- a/apps/ws/consumers.py +++ b/apps/ws/consumers.py @@ -72,3 +72,6 @@ class MyConsumer(AsyncWebsocketConsumer): async def event(self, content): await self.send(json.dumps(content, ensure_ascii=False)) + + async def ticket(self, content): + await self.send(json.dumps(content, ensure_ascii=False))