Implement the Manage Sender Domain component and

The AuthorizeSenderDomainModal

MAILPOET-4302
This commit is contained in:
Oluwaseun Olorunsola
2022-07-21 14:53:35 +01:00
committed by Veljko V
parent 5c3a9fe9b2
commit 847d199352
7 changed files with 322 additions and 6 deletions

View File

@ -341,7 +341,7 @@ class Settings extends APIEndpoint {
if (!$response['ok']) {
// sender domain verification error. probably an improper setup
return $this->badRequest([
APIError::BAD_REQUEST => WPFunctions::get()->__('failed sender domain verification', 'mailpoet'),
APIError::BAD_REQUEST => WPFunctions::get()->__($response['error'] ?? 'failed sender domain verification', 'mailpoet'),
], $response);
}