Skip to content

Commit

Permalink
Update example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Aug 26, 2024
1 parent 8302225 commit 19f4ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use chorus::instance::Instance;

#[tokio::main]
async fn main() {
let instance = Instance::new("https://example.com")
let instance = Instance::new("https://example.com", None)
.await
.expect("Failed to connect to the Spacebar server");
// You can create as many instances of `Instance` as you want, but each `Instance` should likely be unique.
Expand Down

0 comments on commit 19f4ef2

Please sign in to comment.