Fix errors not being correctly cleaned up on FROM address save

[MAILPOET-2804]
This commit is contained in:
Jan Jakeš
2020-04-01 14:55:00 +02:00
committed by Veljko V
parent 3549efbfc0
commit 78dc682763

View File

@ -99,7 +99,7 @@ class Settings extends APIEndpoint {
]); ]);
} }
if (MailerLog::isSendingPaused() && !$this->servicesChecker->isMailPoetAPIKeyPendingApproval()) { if (!$this->servicesChecker->isMailPoetAPIKeyPendingApproval()) {
MailerLog::resumeSending(); MailerLog::resumeSending();
} }
return $this->successResponse(); return $this->successResponse();