reset default address and port in example
This commit is contained in:
parent
08cdc5bede
commit
986cd7ecd2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue