revert removing the locale from the get item by id

This commit is contained in:
Rev 2021-10-11 18:20:11 +09:00
parent bace58d2c8
commit 60aebd6b02

View File

@ -64,6 +64,7 @@ class ItemsCollection
$item = $this->items[$id] ?? throw new ItemNotFoundException('Item not found');
return [
'item' => $item,
'locale' => $this->locale[$id] ?? ''
];
}
}