main_topic-fix6
All checks were successful
Deploy on push / deploy (push) Successful in 54s

This commit is contained in:
2025-02-12 19:21:21 +03:00
parent fe661a5008
commit b011c0fd48
6 changed files with 36 additions and 27 deletions

View File

@@ -207,7 +207,7 @@ async def publish_shout(_, info, shout_id: int):
draft.updated_at = now
shout.updated_at = now
# Устанавливаем published_at только если была ранее снята с публикации
if not was_published:
shout.published_at = now