feat: updates
This commit is contained in:
@@ -21,6 +21,7 @@ pub fn try_kms_decrypt(ciphertext: &str) -> XResult<String> {
|
||||
let mut request = Request::new(Method::POST, Url::parse(&uri)?);
|
||||
let _ = request.body_mut().insert(Body::from(body));
|
||||
let response = client.execute(request)?;
|
||||
debugging!("KMS response text: {:?}", &response);
|
||||
let response_text = response.text()?;
|
||||
debugging!("KMS response text: {}", &response_text);
|
||||
let decrypt_response: DecryptResponse = serde_json::from_str(&response_text)?;
|
||||
|
||||
Reference in New Issue
Block a user