This ended up being pebkac
This commit is contained in:
@@ -49,9 +49,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
|
|
||||||
let auth_store = InMemoryAuthenticationStore::new(Some(credentials.clone()));
|
let auth_store = InMemoryAuthenticationStore::new(Some(credentials.clone()));
|
||||||
let mut client = HTTPAPIClient::new(server_url, auth_store);
|
let mut client = HTTPAPIClient::new(server_url, auth_store);
|
||||||
|
let _ = client.authenticate(credentials).await?;
|
||||||
// Kick auth... this is bad. Update monitor should do this.
|
|
||||||
_ = client.get_conversations().await?;
|
|
||||||
|
|
||||||
// Open event socket
|
// Open event socket
|
||||||
let event_socket = client.open_event_socket(None).await?;
|
let event_socket = client.open_event_socket(None).await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user