This commit is contained in:
@@ -494,7 +494,7 @@ async def publish_draft(_: None, info: GraphQLResolveInfo, draft_id: int) -> dic
|
||||
await invalidate_shout_related_cache(shout, author_id)
|
||||
|
||||
# Уведомляем о публикации
|
||||
await notify_shout(shout.dict(), "published")
|
||||
await notify_shout(shout.dict(), "create")
|
||||
|
||||
# Обновляем поисковый индекс
|
||||
search_service.index(shout)
|
||||
|
||||
Reference in New Issue
Block a user