File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -698,7 +698,7 @@ update_a_key_1: |-
698
698
key.description = "Manage documents: Products/Reviews API key".to_string();
699
699
key.actions = vec![Action::DocumentsAdd, Action::DocumentsDelete];
700
700
key.indexes = vec!["products".to_string(), "reviews".to_string()];
701
- key.expires_at = Some(" 2042-04-02T00 :42:42Z".to_string( ));
701
+ key.expires_at = Some(time::macros::datetime!( 2042 - 04 - 02 00 :42:42 UTC ));
702
702
let updated_key = client.update_key(&key);
703
703
delete_a_key_1 : |-
704
704
let key = client.get_key("d0552b41536279a0ad88bd595327b96f01176a60c2243e906c52ac02375f9bc4").await.unwrap();
@@ -718,7 +718,7 @@ security_guide_create_key_1: |-
718
718
let client = Client::new("http://localhost:7700", "masterKey");
719
719
let mut key_options = KeyBuilder::new("Search patient records key");
720
720
key_options.with_action(Action::Search)
721
- .with_expires_at(time::datetime!(2023-01- 01 00:00:00 UTC))
721
+ .with_expires_at(time::macros:: datetime!(2023 - 01 - 01 00:00:00 UTC))
722
722
.with_index("patient_medical_records");
723
723
let new_key = client.create_key(key_options).await.unwrap();
724
724
security_guide_list_keys_1 : |-
You can’t perform that action at this time.
0 commit comments