Skip to content

Commit

Permalink
Feed is an array at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustMiller committed Aug 8, 2024
1 parent 636b7f6 commit 00fa0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/CommerceProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ private function _inventoryUpdate($event): void
'inventoryItem' => $inventoryItem,
'inventoryLocation' => $location,
'quantity' => $stock,
'note' => sprintf('Imported via feed ID #%s', $event->feed->id),
'note' => sprintf('Imported via feed ID #%s', $event->feed['id']),
]);

$updateInventoryLevels->push($update);
Expand Down

0 comments on commit 00fa0ab

Please sign in to comment.