From fb3b6e232734b5ce8489f1976124e88d73816fa5 Mon Sep 17 00:00:00 2001 From: mguschin Date: Tue, 12 May 2026 22:57:21 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20use=20product=20name=20as=20VK=20descrip?= =?UTF-8?q?tion=20fallback=20(VK=20requires=20=E2=89=A510=20chars)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- web/tasks/vk_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/tasks/vk_sync.py b/web/tasks/vk_sync.py index e79f3f2..e0e826e 100644 --- a/web/tasks/vk_sync.py +++ b/web/tasks/vk_sync.py @@ -151,7 +151,7 @@ def _sync_product( ) -> None: name = _name_for_vk(product.name) price_rubles = _calc_price(product.price) - desc = (product.description or "").strip() + desc = product.name stock = settings.VK_STOCK_AMOUNT if product.allow_to_sell else 0 owner_id = f"-{vk_group_id}" now = _now()