revert to default ip and port for example

This commit is contained in:
glyph 2022-02-04 10:43:34 +02:00
parent 2689824126
commit 30587f7ad2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ use golgi::sbot::Sbot;
use golgi::sbot::{SubsetQuery, SubsetQueryOptions};
async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::init(Some("127.0.0.1:8009".to_string()), None).await?;
let mut sbot_client = Sbot::init(None, None).await?;
let id = sbot_client.whoami().await?;
println!("whoami: {}", id);