Compare commits

...

2 Commits

Author SHA1 Message Date
a5f02631e8 Merge pull request 'sdafasklj' (#11) from dev into main
All checks were successful
Build && Deploy / cargo build (push) Successful in 2m59s
Reviewed-on: #11
2025-06-01 06:03:23 +00:00
Akulij
5978db5f2d sdafasklj
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled
2025-06-01 11:02:58 +05:00

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() {