Compare commits
2 Commits
bf816c4c5c
...
5955fc297d
| Author | SHA1 | Date | |
|---|---|---|---|
| 5955fc297d | |||
|
|
8742740e6e |
@ -157,7 +157,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
|
||||
);
|
||||
match handler.call_args(vec![jsuser]) {
|
||||
Ok(v) => {
|
||||
println!("Ok branch, value: {v:?}");
|
||||
println!("Ok branch, value: {:?}", v.js_to_string());
|
||||
if v.is_bool() {
|
||||
v.to_bool().unwrap_or(true)
|
||||
} else if v.is_int() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user