add missing service

This commit is contained in:
Daniel Seifert 2023-01-12 22:49:27 +01:00
parent 88571ad8ed
commit d84983001f
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
2 changed files with 9 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class Sms extends AbstractMessage
$request = $this->getRequest($configuration, $client); $request = $this->getRequest($configuration, $client);
$requestRecipientsList = $request->getRecipientsList(); $requestRecipientsList = $request->getRecipientsList();
foreach ($recipientsList->getRecipients() as $recipient) { foreach ($recipientsList->getRecipientsList() as $recipient) {
$requestRecipientsList->add($recipient); $requestRecipientsList->add($recipient);
} }

View File

@ -24,6 +24,14 @@ services:
- 'getConfig' - 'getConfig'
shared: true shared: true
# config
d3ox.linkmobility.OxidEsales\Eshop\Core\Request:
class: 'OxidEsales\Eshop\Core\Request'
factory:
- 'OxidEsales\Eshop\Core\Registry'
- 'getRequest'
shared: true
# lang # lang
d3ox.linkmobility.OxidEsales\Eshop\Core\Language: d3ox.linkmobility.OxidEsales\Eshop\Core\Language:
class: 'OxidEsales\Eshop\Core\Session' class: 'OxidEsales\Eshop\Core\Session'