print info value returned
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m6s
All checks were successful
Build && Deploy / cargo build (push) Successful in 1m6s
This commit is contained in:
parent
e74f875e3b
commit
bdc0d6432c
@ -162,6 +162,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) => {
|
||||||
|
info!("Ok branch, got 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() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user