summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Account.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-03 21:14:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-03 21:14:49 +0200
commit954638e7c75342e081a25da398239b63a0e71d41 (patch)
treec86f099695a4e154dc57ffde5a46e92e3e9cf660 /lib/Travelynx/Controller/Account.pm
parent1694026c866291af36b6dc83bd027d1f7dc682b5 (diff)
data export: use station names, not IDs1.1.4
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
],
}