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")