summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Account.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Account.pm')
-rw-r--r--lib/Travelynx/Controller/Account.pm4
1 files changed, 2 insertions, 2 deletions
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
],
}