revert to default ip and port for example
This commit is contained in:
parent
2689824126
commit
30587f7ad2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue