This commit is contained in:
@@ -4,7 +4,7 @@ from services.rediscache import redis
|
||||
from validators.chat import Message
|
||||
|
||||
|
||||
async def notify_message(message: Message, chat_id: str, action = "create"):
|
||||
async def notify_message(message: Message, chat_id: str, action="create"):
|
||||
channel_name = f"chat:{chat_id}"
|
||||
data = {"payload": message, "action": action}
|
||||
try:
|
||||
|
Reference in New Issue
Block a user