From 954638e7c75342e081a25da398239b63a0e71d41 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 3 May 2019 21:14:49 +0200 Subject: [PATCH] data export: use station names, not IDs --- lib/Travelynx/Controller/Account.pm | 4 ++-- 1 file 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 ], }