Add date_update to battery list CAPI #522
This commit is contained in:
parent
74928f196b
commit
7ca467ce4c
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ class BatteryController extends APIController
|
||||||
'id' => $batt->getID(),
|
'id' => $batt->getID(),
|
||||||
'size' => $batt->getSize()->getID(),
|
'size' => $batt->getSize()->getID(),
|
||||||
'brand' => $batt->getBrand()->getID(),
|
'brand' => $batt->getBrand()->getID(),
|
||||||
|
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue