toler-none
All checks were successful
Deploy on push / deploy (push) Successful in 6s

This commit is contained in:
Untone 2024-11-12 18:49:44 +03:00
parent 8116160b4d
commit f32b6a6a27

View File

@ -162,7 +162,7 @@ def query_with_stat(info):
.group_by(Reaction.shout) .group_by(Reaction.shout)
.subquery() .subquery()
) )
author_id = info.context.get("author", {}).get("id") author_id = info.context.get("author", {}).get("id") if info.context else None
user_reaction_subquery = None user_reaction_subquery = None
if author_id: if author_id:
user_reaction_subquery = ( user_reaction_subquery = (