Improve the SPF check message [MAILPOET-2511]

This commit is contained in:
wxa
2019-11-28 11:51:22 +03:00
committed by Jack Kitterhing
parent 1a79305766
commit 7be762c462
4 changed files with 10 additions and 16 deletions

View File

@ -50,7 +50,7 @@ class Services extends APIEndpoint {
if (!$result) {
return $this->errorResponse(
[APIError::BAD_REQUEST => WPFunctions::get()->__('SPF check has failed.', 'mailpoet')],
['sender_address' => $sender_address, 'domain_name' => $domain_name]
['sender_address' => $sender_address]
);
}