more-toler2
Some checks failed
Deploy on push / deploy (push) Has been cancelled

This commit is contained in:
Untone 2024-10-23 23:59:17 +03:00
parent 7cf3f91dac
commit 0a26f2986f

View File

@ -327,7 +327,7 @@ async def get_shout(_, info, slug: str, shout_id = 0):
with local_session() as session: with local_session() as session:
# Отключение автосохранения # Отключение автосохранения
with session.no_autoflush: with session.no_autoflush:
q, _ = query_shouts(slug) q, _ = query_shouts(slug, shout_id)
results = session.execute(q).first() results = session.execute(q).first()
if results: if results:
[ [