Update stats, fix some text input flows to working with delete middleware

This commit is contained in:
hteppl
2025-01-15 14:29:33 +03:00
parent 5884e0c213
commit b2f793fa70
4 changed files with 34 additions and 35 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ async def handle_delete_coupon(
if result:
await show_coupon_list(callback_query, session)
else:
await callback_query.message.answer(
await callback_query.message.edit_text(
text=f"❌ Купон с кодом <b>{coupon_code}</b> не найден.",
)
await show_coupon_list(callback_query, session)