Skip to content

Commit

Permalink
handle result
Browse files Browse the repository at this point in the history
  • Loading branch information
mycognosist committed Feb 12, 2024
1 parent c591637 commit b46b429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solar_client/examples/whoami.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const SERVER_ADDR: &str = "http://127.0.0.1:3030";

#[tokio::main]
async fn main() -> Result<()> {
let client = Client::new(SERVER_ADDR.to_owned());
let client = Client::new(SERVER_ADDR.to_owned())?;

let whoami = client.whoami().await?;
println!("{}", whoami);
Expand Down

0 comments on commit b46b429

Please sign in to comment.