fix list accoutn verification button

This commit is contained in:
Stachelbeere1248 2025-07-02 19:35:51 +02:00
parent 5e81e07b05
commit df3127a763
Signed by: Stachelbeere1248
SSH key fingerprint: SHA256:IozEKdw2dB8TZxkpPdMxcWSoWTIMwoLaCcZJ1AJnY2o

View file

@ -104,7 +104,7 @@ async fn button(
Ok(()) Ok(())
} }
"listaccounts" => { "listaccounts" => {
let user = interaction.message.mentions.first().unwrap(); let user = u.to_user(&ctx);
let s: String = crate::commands::accountv2::list_string( let s: String = crate::commands::accountv2::list_string(
&data.sqlite_pool, &data.sqlite_pool,
user, user,