refactor: better value cloning

This commit is contained in:
2026-06-01 23:51:54 +02:00
parent e3aaf05838
commit 4d3432e92f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ pub(crate) struct Api {
impl From<&Settings> for Api {
fn from(value: &Settings) -> Self {
let contact = contact::ContactApi::from(value.clone().email);
let contact = contact::ContactApi::from(value.email.clone());
let health = health::HealthApi;
let meta = meta::MetaApi::from(&value.application);
Self {