data export: use station names, not IDs
This commit is contained in:
parent
1694026c86
commit
954638e7c7
1 changed files with 2 additions and 2 deletions
|
@ -572,11 +572,11 @@ sub json_export {
|
|||
json => {
|
||||
account => $db->select( 'users', '*', { id => $uid } )->hash,
|
||||
in_transit => [
|
||||
$db->select( 'in_transit', '*', { user_id => $uid } )
|
||||
$db->select( 'in_transit_str', '*', { user_id => $uid } )
|
||||
->hashes->each
|
||||
],
|
||||
journeys => [
|
||||
$db->select( 'journeys', '*', { user_id => $uid } )
|
||||
$db->select( 'journeys_str', '*', { user_id => $uid } )
|
||||
->hashes->each
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue