chore: clean up texts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user