Use better name for the method that updates api keys states

[MAILPOET-5191]
This commit is contained in:
Rostislav Wolny
2023-05-01 17:10:58 +02:00
committed by Veljko V
parent f4ae6e0f00
commit edc4ab4f52
3 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ class Settings extends APIEndpoint {
// when pending approval, leave this to cron / Key Activation tab logic
if (!$this->servicesChecker->isMailPoetAPIKeyPendingApproval()) {
$this->settingsChangeHandler->updateBridge($settings);
$this->settingsChangeHandler->updateApiKeyState($settings);
}
$meta = $this->authorizedEmailsController->onSettingsSave($settings);