fix(domain): typed VOs in MovieEnrichmentRequested and PersonEnrichmentRequested
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user