fix-int
All checks were successful
Deploy on push / deploy (push) Successful in 1m37s

This commit is contained in:
Untone 2024-02-24 21:56:09 +03:00
parent f5b3cd8f97
commit 6f11652320

View File

@ -103,7 +103,7 @@ def author_follows_authors(author_id: int):
af = aliased(AuthorFollower, name='af')
q = (
select(Author)
.select_from(join(Author, af, Author.id == int(af.author)))
.select_from(join(Author, af, Author.id == af.author))
.where(af.follower == author_id)
)
q = add_author_stat_columns(q)