print info value returned
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m6s

This commit is contained in:
Akulij 2025-06-01 17:42:14 +05:00
parent e74f875e3b
commit bdc0d6432c

View File

@ -162,6 +162,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
);
match handler.call_args(vec![jsuser]) {
Ok(v) => {
info!("Ok branch, got value: {v:?}");
if v.is_bool() {
v.to_bool().unwrap_or(true)
} else if v.is_int() {