stat-syntetic

This commit is contained in:
Untone 2025-01-21 10:21:38 +03:00
parent c80c282118
commit 839cc84c26

View File

@ -125,14 +125,7 @@ async def create_shout(_, info, inp):
slug=slug, slug=slug,
published_at=None, published_at=None,
community=1, community=1,
created_at=current_time, created_at=current_time
stat={ # Добавляем начальную статистику
"views": 0,
"comments": 0,
"reactions": 0,
"shares": 0,
"bookmarks": 0,
},
) )
# Check for duplicate slug # Check for duplicate slug