diff --git a/core/module/digital_twin_registry/src/digital_twin_registry_impl.rs b/core/module/digital_twin_registry/src/digital_twin_registry_impl.rs index 10401ca0..b8dd1960 100644 --- a/core/module/digital_twin_registry/src/digital_twin_registry_impl.rs +++ b/core/module/digital_twin_registry/src/digital_twin_registry_impl.rs @@ -109,7 +109,7 @@ impl DigitalTwinRegistry for DigitalTwinRegistryImpl { let request_inner = request.into_inner(); for entity_access_info in &request_inner.entity_access_info_list { - self.register_entity(&entity_access_info)?; + self.register_entity(entity_access_info)?; info!( "Registered the entity with provider id: {} instance id: {} model id: {}",