Remove "limited" parameter

This commit is contained in:
bitfl0wer 2023-12-03 21:34:44 +01:00
parent 2c44232b05
commit f5774ae047
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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

View File

@ -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(),