diff --git a/Console/Command/EraseCommand.php b/Console/Command/EraseCommand.php
index f6babe1..6ebc3a6 100644
--- a/Console/Command/EraseCommand.php
+++ b/Console/Command/EraseCommand.php
@@ -77,12 +77,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int
try {
foreach ($entityIds as $entityId) {
- $this->eraseEntityManagement->process($this->fetchEntity($entityType, $entityId));
+ $this->eraseEntityManagement->process($this->fetchEntity((int)$entityId, $entityType));
$progressBar->advance();
}
$progressBar->finish();
+ $output->writeln('');
$output->writeln('
{{trans "We have received a request to erase the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans 'You can cancel the erase within %delay hours by logging into your account.' delay=$delay account_url=$this.getUrl($store,'customer/account/',[_nosid:1]) |raw}}
+{{trans 'You can cancel the erase within %delay hours by logging into your account.' delay=$delay account_url=$this.getUrl($store,'customer/privacy/settings',[_nosid:1]) |raw}}
{{trans "We have received a request to erase the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans 'You can cancel the erase within %delay hours by logging into your account.' delay=$delay account_url=$this.getUrl($store,'customer/account/',[_nosid:1]) |raw}}
+{{trans 'You can cancel the erase within %delay hours by logging into your account.' delay=$delay account_url=$this.getUrl($store,'sales/guest/form',[_nosid:1]) |raw}}
{{trans "We have received a request to export the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans "We will notify you when the export will be ready. The action will be available in your account."}}
+{{trans "We will notify you when the export will be ready. The action will be available by logging into your account." account_url=$this.getUrl($store,'customer/privacy/settings',[_nosid:1]) |raw}}
{{trans "We have received a request to export the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans "We will notify you when the export will be ready. The action will be available in your account."}}
+{{trans "We will notify you when the export will be ready. The action will be available by logging into your account." account_url=$this.getUrl($store,'sales/guest/form',[_nosid:1]) |raw}}
{{trans "We have received a request to export the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans "The export of you personal data is ready. The action is now available in your account."}}
+{{trans "The export of you personal data is ready. The action is now available by logging into your account." account_url=$this.getUrl($store,'customer/privacy/settings',[_nosid:1]) |raw}}
{{trans "We have received a request to export the information associated with your account at %store_name." store_name=$store.getFrontendName()}}
-{{trans "The export of you personal data is ready. The action is now available in your account."}}
+{{trans "The export of you personal data is ready. The action is now available by logging into your account." account_url=$this.getUrl($store,'sales/guest/form',[_nosid:1]) |raw}}