debug-chat-id-nodata-error
All checks were successful
deploy / deploy (push) Successful in 1m8s

This commit is contained in:
Untone 2023-10-16 19:28:59 +03:00
parent e3cf4a05ee
commit c495c64443

View File

@ -79,7 +79,7 @@ async def create_chat(_, info, title="", members=None):
for member_id in members:
await redis.execute("SADD", f"chats_by_author/{member_id}", chat_id)
print(f"[resolvers.chatss] creating: {chat}")
print(f"\n\n[resolvers.chats] creating: {chat}\n\n")
await redis.execute("SET", f"chats/{chat_id}", json.dumps(chat))
await redis.execute("SET", f"chats/{chat_id}/next_message_id", str(0))