You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let client = Client::new(client.host,Some(key.key.clone())).unwrap();
1370
+
let client = Client::new(client.host.clone(),Some(key.key.clone())).unwrap();
1357
1371
// with a wrong key
1358
1372
let error = client.delete_key("invalid_key").await.unwrap_err();
1359
1373
insta::assert_snapshot!(error, @"Meilisearch auth: invalid_api_key: The provided API key is invalid.. https://docs.meilisearch.com/errors#invalid_api_key");
@@ -1378,7 +1392,7 @@ mod tests {
1378
1392
));
1379
1393
1380
1394
// cleanup
1381
-
let client = Client::new(client.host, master_key).unwrap();
1395
+
let client = Client::new(client.host.clone(), master_key).unwrap();
0 commit comments