This commit is contained in:
@@ -99,4 +99,4 @@ async def delete_chat(_, info, chat_id: str):
|
||||
await redis.execute("DEL", f"chats/{chat_id}")
|
||||
await redis.execute("SREM", f"chats_by_author/{author_id}", chat_id)
|
||||
else:
|
||||
return {"error": "chat not exist"}
|
||||
return {"error": "chat not exist"}
|
||||
|
Reference in New Issue
Block a user