create-msg-debug
This commit is contained in:
@@ -20,6 +20,7 @@ async def create_message(_, info, chat: str, body: str, reply_to=None):
|
||||
author_id = info.context["author_id"]
|
||||
|
||||
chat_data = await redis.execute("GET", f"chats/{chat}")
|
||||
print(f"[resolvers.messages] debug chat data: {chat_data}")
|
||||
if not chat_data:
|
||||
return {"error": "chat is not exist"}
|
||||
else:
|
||||
|
Reference in New Issue
Block a user