chore: clean up texts

This commit is contained in:
2026-08-13 11:30:04 +07:00
parent 104cf71969
commit 1b78f2ba36
7 changed files with 111 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ async def product_card(
product = await products_repo.get_product_by_id(session, product_id, include_hidden=is_admin)
if not product:
await cb.answer("Товар недоступен.", show_alert=True)
await cb.answer("<b>❌ Товар недоступен.</b>", show_alert=True)
return
if is_admin:
@@ -108,7 +108,7 @@ async def product_card(
if not msg.photo:
logger.warning("didnt get a photo back wahhh :(")
return # TODO: Add logging
return
await products_repo.add_product_file_id(session, product_id, file_id=msg.photo[-1].file_id)
@@ -129,7 +129,7 @@ async def cart_action(
product = await products_repo.get_product_by_id(session, product_id, include_hidden=is_admin)
if not product:
await cb.answer("Товар недоступен.", show_alert=True)
await cb.answer("❌ Товар недоступен.", show_alert=True)
return
show_cart = True