diff --git a/Cargo.lock b/Cargo.lock index 1288f8d2..cd95c90f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4334,9 +4334,9 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.11.0" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817" +checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" dependencies = [ "base64 0.22.1", "chrono", @@ -4352,9 +4352,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.11.0" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d846214a9854ef724f3da161b426242d8de7c1fc7de2f89bb1efcb154dca79d" +checksum = "8d00caa5193a3c8362ac2b73be6b9e768aa5a4b2f721d8f4b339600c3cb51f8e" dependencies = [ "darling 0.20.10", "proc-macro2", diff --git a/crates/context_aware_config/src/helpers.rs b/crates/context_aware_config/src/helpers.rs index 6e0fe05c..dd8e90f3 100644 --- a/crates/context_aware_config/src/helpers.rs +++ b/crates/context_aware_config/src/helpers.rs @@ -342,10 +342,10 @@ pub async fn put_config_in_redis( log::error!("failed to convert cac config to string: {}", e); unexpected_error!("could not convert cac config to string") })?; - let config_key = format!("{}::cac_config", *schema_name); - let last_modified_at_key = format!("{}::cac_config::last_modified_at", *schema_name); - let audit_id_key = format!("{}::cac_config::audit_id", *schema_name); - let config_version_key = format!("{}::cac_config::config_version", *schema_name); + let config_key = format!("{}::cac_config", **schema_name); + let last_modified_at_key = format!("{}::cac_config::last_modified_at", **schema_name); + let audit_id_key = format!("{}::cac_config::audit_id", **schema_name); + let config_version_key = format!("{}::cac_config::config_version", **schema_name); let last_modified = DateTime::to_rfc2822(&Utc::now()); let _ = state .redis