diff --git a/lighthouse-client/examples/admin_list_root.rs b/lighthouse-client/examples/admin_list_root.rs index 6031cc8..16d5349 100644 --- a/lighthouse-client/examples/admin_list_root.rs +++ b/lighthouse-client/examples/admin_list_root.rs @@ -5,7 +5,7 @@ use tracing::info; async fn run(mut lh: Lighthouse) -> Result<()> { info!("Connected to the Lighthouse server"); - let tree = lh.list(&[]).await?.payload; + let tree = lh.list([""; 0]).await?.payload; info!("Got {}", tree); Ok(())