typo-fx
All checks were successful
Deploy on push / deploy (push) Successful in 1m8s

This commit is contained in:
Untone 2024-06-06 12:33:58 +03:00
parent ae861aa8b4
commit 7a4c02d11d

View File

@ -115,8 +115,8 @@ async def load_authors_by(_, _info, by, limit, offset):
authors_query = (
authors_query
.join(ShoutAuthor)
.join(ShoutTopic, ShoutAuthor.topic_id == ShoutTopic.id)
.join(Topic, ShoutTopic.topic_id == Topic.id)
.join(ShoutTopic, ShoutAuthor.topic == ShoutTopic.id)
.join(Topic, ShoutTopic.topic == Topic.id)
.filter(Topic.slug == str(by["topic"]))
)