File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1510,8 +1510,9 @@ get_all_keys_1: |-
15101510 .await
15111511 .unwrap();
15121512create_a_key_1 : |-
1513- let mut key_options = KeyBuilder::new("Add documents: Products API key" );
1513+ let mut key_options = KeyBuilder::new();
15141514 key_options
1515+ .with_name("Add documents: Products API key")
15151516 .with_action(Action::DocumentsAdd)
15161517 .with_expires_at(time::macros::datetime!(2042 - 04 - 02 00:42:42 UTC))
15171518 .with_index("products");
@@ -1562,8 +1563,9 @@ security_guide_update_key_1: |-
15621563 .update(&client);
15631564security_guide_create_key_1 : |-
15641565 let client = Client::new("http://localhost:7700", Some("masterKey"));
1565- let mut key_options = KeyBuilder::new("Search patient records key" );
1566+ let mut key_options = KeyBuilder::new();
15661567 key_options
1568+ .with_name("Search patient records key")
15671569 .with_action(Action::Search)
15681570 .with_expires_at(time::macros::datetime!(2023 - 01 - 01 00:00:00 UTC))
15691571 .with_index("patient_medical_records");
You can’t perform that action at this time.
0 commit comments