Add date_update to battery list CAPI #522

This commit is contained in:
Kendrick Chan 2020-10-20 07:52:07 +08:00
parent 74928f196b
commit 7ca467ce4c

View file

@ -37,6 +37,7 @@ class BatteryController extends APIController
'id' => $batt->getID(),
'size' => $batt->getSize()->getID(),
'brand' => $batt->getBrand()->getID(),
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
];
}