diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index 081aa13..8d5b21f 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -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 ], }