Skip to content

Commit

Permalink
Fix retailer extension attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime LECLERCQ committed Oct 6, 2017
1 parent 2f86892 commit 70b9ebf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Model/Retailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public function getExtensionAttributes()
{
$extensionAttributes = $this->_getExtensionAttributes();
if (!$extensionAttributes) {
return $this->extensionAttributesFactory->create('Smile\Retailer\Api\Data\RetailerInterface');
$extensionAttributes = $this->extensionAttributesFactory
->create('Smile\Retailer\Api\Data\RetailerInterface');
$this->_setExtensionAttributes($extensionAttributes);
}

return $extensionAttributes;
Expand Down

0 comments on commit 70b9ebf

Please sign in to comment.