sdafasklj
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled

This commit is contained in:
Akulij 2025-06-01 11:02:58 +05:00
parent 48e4d7b284
commit 5978db5f2d

View File

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