Skip to content

Commit

Permalink
Merge pull request #10 from delyriand/fix-extension-attributes-4
Browse files Browse the repository at this point in the history
Fix retailer extension attributes
  • Loading branch information
romainruaud authored Oct 6, 2017
2 parents 2f86892 + 70b9ebf commit adca33b
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 adca33b

Please sign in to comment.