diff --git a/examples/instance.rs b/examples/instance.rs index d2a042f..b8f8518 100644 --- a/examples/instance.rs +++ b/examples/instance.rs @@ -8,7 +8,7 @@ async fn main() { "wss://example.com/".to_string(), "https://example.com/cdn".to_string(), ); - let instance = Instance::new(bundle, true) + let instance = Instance::new(bundle) .await .expect("Failed to connect to the Spacebar server"); dbg!(instance.instance_info); diff --git a/examples/login.rs b/examples/login.rs index 6b56a47..18b5db4 100644 --- a/examples/login.rs +++ b/examples/login.rs @@ -9,7 +9,7 @@ async fn main() { "wss://example.com/".to_string(), "https://example.com/cdn".to_string(), ); - let mut instance = Instance::new(bundle, true) + let mut instance = Instance::new(bundle) .await .expect("Failed to connect to the Spacebar server"); // Assume, you already have an account created on this instance. Registering an account works diff --git a/tests/common/mod.rs b/tests/common/mod.rs index b533fd2..d6aaa34 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -57,7 +57,7 @@ pub(crate) async fn setup() -> TestBundle { "ws://localhost:3001".to_string(), "http://localhost:3001".to_string(), ); - let instance = Instance::new(urls.clone(), true).await.unwrap(); + let instance = Instance::new(urls.clone()).await.unwrap(); // Requires the existance of the below user. let reg = RegisterSchema { username: "integrationtestuser".into(),