circular-fix

This commit is contained in:
2023-10-05 00:25:45 +03:00
parent 0de9270af9
commit 37de8b9608
5 changed files with 15 additions and 10 deletions

View File

@@ -2,11 +2,14 @@ import json
from services.core import get_author
from services.redis import redis
from resolvers import query
from services.auth import login_required
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=[]):