From 9d9adfbdfa00d276b6df44c9d02c147107d9b277 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 27 May 2024 19:36:25 +0300 Subject: [PATCH] async-fix-2 --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index 918fa9b2..d0f24073 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -320,7 +320,7 @@ async def get_author_followers(_, _info, slug: str): author_alias = aliased(Author) author_query = select(author_alias).filter_by(slug=slug) with local_session() as session: - result = await session.execute(author_query).first() + result = session.execute(author_query).first() if not result: return []