Add the inventory flag in the response to get batteries call. #546

This commit is contained in:
Korina Cordero 2021-03-19 10:24:02 +00:00 committed by Kendrick Chan
parent e0fab6703c
commit 4d8a1166b6

View file

@ -49,6 +49,7 @@ class BatteryController extends APIController
'container_size_name' => $csize_name,
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
'flag_new' => $batt->isNew(),
'flag_inventory' => $batt->isInventory();
];
}