Skip to content

Commit 2f126f4

Browse files
authored
Merge pull request #1 from h2akim/master
merged changes from h2kim/shopify-php-sdk
2 parents d03f618 + 696a360 commit 2f126f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/InventoryItemService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class InventoryItemService extends AbstractService
1919
public function all(array $params = []){
2020
$endpoint = 'inventory_items.json';
2121
$response = $this->request($endpoint, 'GET', $params);
22-
return $this->createCollection(InventoryItem::class, $response['inventory_item']);
22+
return $this->createCollection(InventoryItem::class, $response['inventory_items']);
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)