reaction-after-fix
This commit is contained in:
parent
ebbd1d729e
commit
b3196f6dcb
|
@ -125,9 +125,12 @@ def after_reaction_insert(mapper, connection, reaction: Reaction):
|
||||||
)
|
)
|
||||||
.select_from(author_subquery.subquery())
|
.select_from(author_subquery.subquery())
|
||||||
.union(
|
.union(
|
||||||
select(replied_author_subquery.subquery().c.id).select_from(
|
select(
|
||||||
replied_author_subquery.subquery()
|
replied_author_subquery.subquery().c.id,
|
||||||
)
|
replied_author_subquery.subquery().c.slug,
|
||||||
|
replied_author_subquery.subquery().c.created_at,
|
||||||
|
replied_author_subquery.subquery().c.name,
|
||||||
|
).select_from(replied_author_subquery.subquery())
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user