formatted
This commit is contained in:
@@ -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"}
|
||||
|
||||
|
Reference in New Issue
Block a user