This commit is contained in:
parent
be27e7306c
commit
3efcfef537
|
@ -356,7 +356,8 @@ async def load_reactions_by(_, info, by, limit=50, offset=0):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
q = (
|
q = (
|
||||||
select([Reaction, Author, Shout])
|
select(Reaction, Author, Shout)
|
||||||
|
.select_from(Reaction)
|
||||||
.join(Author, Reaction.created_by == Author.id)
|
.join(Author, Reaction.created_by == Author.id)
|
||||||
.join(Shout, Reaction.shout == Shout.id)
|
.join(Shout, Reaction.shout == Shout.id)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user