Skip to content

Commit

Permalink
Fix bug in locale
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Mar 16, 2021
1 parent aa23017 commit 15c6c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trustpilot/Order/EmailManager/EmailManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(
) {
$this->emailSender = $emailSender;
$this->trustpilotEmail = $trustpilotEmail;
$this->locale = $locale;
$this->locale = str_replace('_', '-', $locale);
}

public function sendTrustpilotEmail(OrderInterface $order): void
Expand Down

0 comments on commit 15c6c92

Please sign in to comment.