another item tax api fix
This commit is contained in:
parent
2f9f7b6d36
commit
84b3e6914c
@ -35,7 +35,7 @@ class Items extends ApiController
|
|||||||
*/
|
*/
|
||||||
public function show($id)
|
public function show($id)
|
||||||
{
|
{
|
||||||
$item = Item::with('category', 'tax')->find($id);
|
$item = Item::with('category', 'taxes')->find($id);
|
||||||
|
|
||||||
return $this->response->item($item, new Transformer());
|
return $this->response->item($item, new Transformer());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user