days: remove rootid from response

cap
Varun Patil 2022-12-04 20:04:48 -08:00
parent 46f9920d8c
commit c6a4b4e3e9
1 changed files with 4 additions and 3 deletions

View File

@ -266,9 +266,6 @@ trait TimelineQueryDays
}
foreach ($day as &$row) {
// We don't need date taken (see query builder)
unset($row['datetaken']);
// Convert field types
$row['fileid'] = (int) $row['fileid'];
$row['isvideo'] = (int) $row['isvideo'];
@ -303,6 +300,10 @@ trait TimelineQueryDays
// All transform processing
$this->processFace($row);
// We don't need these fields
unset($row['datetaken']);
unset($row['rootid']);
}
return $day;