Unverified Commit 78e10065 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

/account/export: provide proper json, not json-as-string

parent 371c99df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1579,11 +1579,11 @@ sub json_export {
			backends   => [ $self->stations->get_backends( db => $db ) ],
			in_transit => [
				$db->select( 'in_transit_str', '*', { user_id => $uid } )
				  ->hashes->each
				  ->expand->hashes->each
			],
			journeys => [
				$db->select( 'journeys_str', '*', { user_id => $uid } )
				  ->hashes->each
				  ->expand->hashes->each
			],
		}
	);