examples: Fix the wasm bot example.

master
Damir Jelić 2020-05-22 16:19:30 +02:00
parent ea5f7f1d19
commit b8a9e05ebb
1 changed files with 1 additions and 1 deletions

View File

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