Skip to content

Commit

Permalink
style: remove extra whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherwin Heydarbeygi committed Aug 22, 2022
1 parent eafd748 commit 21eed21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Plugin/ConfigPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ public function aroundSave(
} elseif ($data['groups']['settings']['fields']['enabled']['value'] == 1) {
if (isset($data['groups']['settings']['fields']['imgix_api_key'])) {
$apiKey = $data['groups']['settings']['fields']['imgix_api_key']['value'];

$apiKeyValidation = $this->helperData->getImgixApiKeyValidation($apiKey);

if ($apiKeyValidation['authorized']== 0) {
throw new \Magento\Framework\Exception\LocalizedException(__($apiKeyValidation['message']));
}
Expand Down

0 comments on commit 21eed21

Please sign in to comment.