Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jun 1, 2024
1 parent ccfabd4 commit 039f5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-client/examples/admin_list_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use tracing::info;
async fn run(mut lh: Lighthouse<TokioWebSocket>) -> Result<()> {
info!("Connected to the Lighthouse server");

let tree = lh.list(&[]).await?.payload;
let tree = lh.list([""; 0]).await?.payload;
info!("Got {}", tree);

Ok(())
Expand Down

0 comments on commit 039f5d9

Please sign in to comment.