Merge branch '532-add-flag_new-in-api-call-response' into 'master'
Resolve "Add flag_new in API call response" Closes #532 See merge request jankstudio/resq!617
This commit is contained in:
commit
50a853395c
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class BatteryController extends APIController
|
|||
'size' => $batt->getSize()->getID(),
|
||||
'brand' => $batt->getBrand()->getID(),
|
||||
'date_update' => $batt->getDateUpdate()->format('YmdHis'),
|
||||
'flag_new' => $batt->isNew(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue