export: Add in_transit field
This commit is contained in:
parent
4c63efe4a1
commit
906ec60ea2
1 changed files with 5 additions and 1 deletions
|
@ -292,7 +292,11 @@ sub json_export {
|
|||
|
||||
$self->render(
|
||||
json => {
|
||||
account => $db->select( 'users', '*', { id => $uid } )->hash,
|
||||
account => $db->select( 'users', '*', { id => $uid } )->hash,
|
||||
in_transit => [
|
||||
$db->select( 'in_transit', '*', { user_id => $uid } )
|
||||
->hashes->each
|
||||
],
|
||||
journeys => [
|
||||
$db->select( 'journeys', '*', { user_id => $uid } )
|
||||
->hashes->each
|
||||
|
|
Loading…
Reference in a new issue