Skip to content

Commit

Permalink
Merge pull request #297 from mailchimp/Issue289
Browse files Browse the repository at this point in the history
closes #289
  • Loading branch information
gonzaloebiz authored Apr 26, 2018
2 parents 1e15df7 + e3687d8 commit edab5df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/Config/Source/Details.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function __construct(
$this->storeId = (int) $request->getParam("store", 0);
$this->storeManager = $storeManager;

if ($this->_helper->getApiKey()) {
$api = $this->_helper->getApi();
if ($this->_helper->getApiKey($this->storeId)) {
$api = $this->_helper->getApi($this->storeId);
try {
$this->_options = $api->root->info();
$mailchimpStoreId = $this->_helper->getConfigValue(\Ebizmarts\MailChimp\Helper\Data::XML_MAILCHIMP_STORE,$this->storeId);
Expand Down

0 comments on commit edab5df

Please sign in to comment.