examples: Fix the wasm bot example.
parent
ea5f7f1d19
commit
b8a9e05ebb
|
@ -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 New Issue