reset default address and port in example

This commit is contained in:
glyph 2022-02-04 10:26:14 +02:00
parent 08cdc5bede
commit 986cd7ecd2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ use golgi::sbot::Sbot;
use golgi::sbot::{FriendsHops, RelationshipQuery, 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);