revert removing the locale from the get item by id
This commit is contained in:
parent
bace58d2c8
commit
60aebd6b02
@ -64,6 +64,7 @@ class ItemsCollection
|
|||||||
$item = $this->items[$id] ?? throw new ItemNotFoundException('Item not found');
|
$item = $this->items[$id] ?? throw new ItemNotFoundException('Item not found');
|
||||||
return [
|
return [
|
||||||
'item' => $item,
|
'item' => $item,
|
||||||
|
'locale' => $this->locale[$id] ?? ''
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user