From 9ee5644a99dad8208a2990d44270c26a051bab78 Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Wed, 17 Jun 2026 12:27:04 +0200 Subject: [PATCH] fix: await _handle_callback in callback_router --- worker/src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/bot.py b/worker/src/bot.py index 09070e2..3069e2f 100644 --- a/worker/src/bot.py +++ b/worker/src/bot.py @@ -435,7 +435,7 @@ async def text_input_handler(update: Update, context: ContextTypes.DEFAULT_TYPE) async def callback_router(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: """Route all callback queries by prefix pattern.""" try: - _handle_callback(update, context) + await _handle_callback(update, context) except Exception: logger.exception("Callback handler error for %s", update.callback_query.data if update.callback_query else "unknown")