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: |-
1510
1510
.await
1511
1511
.unwrap();
1512
1512
create_a_key_1 : |-
1513
- let mut key_options = KeyBuilder::new("Add documents: Products API key" );
1513
+ let mut key_options = KeyBuilder::new();
1514
1514
key_options
1515
+ .with_name("Add documents: Products API key")
1515
1516
.with_action(Action::DocumentsAdd)
1516
1517
.with_expires_at(time::macros::datetime!(2042 - 04 - 02 00:42:42 UTC))
1517
1518
.with_index("products");
@@ -1562,8 +1563,9 @@ security_guide_update_key_1: |-
1562
1563
.update(&client);
1563
1564
security_guide_create_key_1 : |-
1564
1565
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();
1566
1567
key_options
1568
+ .with_name("Search patient records key")
1567
1569
.with_action(Action::Search)
1568
1570
.with_expires_at(time::macros::datetime!(2023 - 01 - 01 00:00:00 UTC))
1569
1571
.with_index("patient_medical_records");
You can’t perform that action at this time.
0 commit comments