| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | |
| 13 | 13 | $securityKey = $this->config->get(plgAcymSendinblue::SENDING_METHOD_ID.'_webhooks_seckey'); |
| 14 | 14 | if (empty($securityKey)) { |
| 15 | 15 | $securityKey = acym_generateKey(40); |
| 16 | - $this->config->save([plgAcymSendinblue::SENDING_METHOD_ID.'_webhooks_seckey' => $securityKey]); | |
| 16 | + $this->config->saveConfig([plgAcymSendinblue::SENDING_METHOD_ID.'_webhooks_seckey' => $securityKey]); | |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | $types = ['transactional', 'marketing']; |
| 20 | 20 | |
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | $webhooks[$type] = $response['id']; |
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - $this->config->save([plgAcymSendinblue::SENDING_METHOD_ID.'_webhooks_added' => json_encode($webhooks)]); | |
| 40 | + $this->config->saveConfig([plgAcymSendinblue::SENDING_METHOD_ID.'_webhooks_added' => json_encode($webhooks)]); | |
| 41 | 41 | } |
| 42 | 42 | } |