formatted

This commit is contained in:
2023-10-14 15:59:43 +03:00
parent 4ddc424f29
commit 154633c114
15 changed files with 63 additions and 48 deletions

View File

@@ -1,10 +1,11 @@
import json
import uuid
from datetime import datetime, timezone
from validators.inbox import Chat
from services.auth import login_required
from services.redis import redis
from services.schema import mutation
from validators.inbox import Chat
@mutation.field("updateChat")
@@ -107,4 +108,3 @@ async def delete_chat(_, info, chat_id: str):
await redis.execute("SREM", f"chats_by_author/{author_id}", chat_id)
else:
return {"error": "chat not exist"}