revert to default ip and port for example
This commit is contained in:
@ -10,7 +10,7 @@ use golgi::sbot::Sbot;
|
|||||||
use golgi::sbot::{SubsetQuery, SubsetQueryOptions};
|
use golgi::sbot::{SubsetQuery, SubsetQueryOptions};
|
||||||
|
|
||||||
async fn run() -> Result<(), GolgiError> {
|
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?;
|
let id = sbot_client.whoami().await?;
|
||||||
println!("whoami: {}", id);
|
println!("whoami: {}", id);
|
||||||
|
Reference in New Issue
Block a user