From 6c0d96e7ac81c5b4f5574446ca11d3fa99c5210d Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 28 May 2025 18:51:49 +0300 Subject: [PATCH] auth.orm-fix --- resolvers/author.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resolvers/author.py b/resolvers/author.py index a0522da4..774af1ce 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -94,7 +94,7 @@ async def get_authors_with_stats(limit=50, offset=0, by: Optional[str] = None, c # Обработка словаря параметров сортировки from sqlalchemy import asc, desc, func from orm.shout import ShoutAuthor - from orm.author import AuthorFollower + from auth.orm import AuthorFollower # Checking for order field in the dictionary if "order" in by: @@ -163,7 +163,7 @@ async def get_authors_with_stats(limit=50, offset=0, by: Optional[str] = None, c elif stats_sort_field == "followers": # Sorting by the number of followers from sqlalchemy import func - from orm.author import AuthorFollower + from auth.orm import AuthorFollower subquery = ( select(