fix(domain): typed VOs in MovieEnrichmentRequested and PersonEnrichmentRequested

This commit is contained in:
2026-06-12 01:34:47 +02:00
parent aec5f6b058
commit cedb13d7a8
9 changed files with 24 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ impl EventHandler for MovieEnrichmentHandler {
self.enrichment_client.as_ref(),
&self.profile_repo,
movie_id.clone(),
&external_metadata_id,
external_metadata_id.value(),
)
.await?
else {

View File

@@ -40,6 +40,6 @@ impl EventHandler for PersonEnrichmentHandler {
_ => return Ok(()),
};
application::person::enrich::execute(&self.deps, person_id, &external_person_id).await
application::person::enrich::execute(&self.deps, person_id, external_person_id.value()).await
}
}