This commit is contained in:
Stachelbeere1248 2025-07-02 19:40:25 +02:00
parent df3127a763
commit ca9f5fc542
Signed by: Stachelbeere1248
SSH key fingerprint: SHA256:IozEKdw2dB8TZxkpPdMxcWSoWTIMwoLaCcZJ1AJnY2o

View file

@ -104,10 +104,10 @@ async fn button(
Ok(()) Ok(())
} }
"listaccounts" => { "listaccounts" => {
let user = u.to_user(&ctx); let user = u.to_user(&ctx).await?;
let s: String = crate::commands::accountv2::list_string( let s: String = crate::commands::accountv2::list_string(
&data.sqlite_pool, &data.sqlite_pool,
user, &user,
&data.caches, &data.caches,
&data.clients.general, &data.clients.general,
) )