resolvers-import-fix

This commit is contained in:
2023-10-05 00:43:07 +03:00
parent 0f6b3613e3
commit 044c21f956
7 changed files with 42 additions and 53 deletions

View File

@@ -3,13 +3,10 @@ import json
from services.core import get_author
from services.redis import redis
from services.auth import login_required
from services.schema import query
from .chats import create_chat
from .unread import get_unread_counter
from ariadne import QueryType
query = QueryType()
# NOTE: not an API handler
async def load_messages(chat_id: str, limit: int = 5, offset: int = 0, ids=[]):