author-id-fix
All checks were successful
deploy / deploy (push) Successful in 1m13s

This commit is contained in:
2023-11-28 12:05:39 +03:00
parent 15139249f1
commit c53b7a4c6c
7 changed files with 64 additions and 40 deletions

View File

@@ -14,7 +14,7 @@ async def notify_message(message: Message, action="create"):
print(f"Failed to publish to channel {channel_name}: {e}")
async def notify_chat(chat: ChatUpdate, member_id, action="create"):
async def notify_chat(chat: ChatUpdate, member_id: int, action="create"):
channel_name = f"chat:{member_id}"
data = {"payload": chat, "action": action}
try: