examples: Fix the wasm bot example.
This commit is contained in:
parent
ea5f7f1d19
commit
b8a9e05ebb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ pub async fn run() -> Result<JsValue, JsValue> {
|
|||
|
||||
let client_config = ClientConfig::new();
|
||||
let homeserver_url = Url::parse(&homeserver_url).unwrap();
|
||||
let client = Client::new_with_config(homeserver_url, None, client_config).unwrap();
|
||||
let client = Client::new_with_config(homeserver_url, client_config).unwrap();
|
||||
|
||||
client
|
||||
.login(username, password, None, Some("rust-sdk-wasm"))
|
||||
|
|
Loading…
Reference in a new issue