Remove unused parser from imports create service

This commit is contained in:
Eugene Burmakin 2024-11-04 11:58:15 +01:00
parent 31f0ee5eab
commit 9cc9632b6d
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class GoogleMaps::RecordsParser
{
latitude: json['latitudeE7'].to_f / 10**7,
longitude: json['longitudeE7'].to_f / 10**7,
timestamp: Timestamps::parse_timestamp(json['timestamp'] || json['timestampMs']),
timestamp: Timestamps.parse_timestamp(json['timestamp'] || json['timestampMs']),
altitude: json['altitude'],
velocity: json['velocity'],
raw_data: json

View file

@ -25,7 +25,6 @@ class Imports::Create
# Bad classes naming by the way, they are not parsers, they are point creators
case source
when 'google_semantic_history' then GoogleMaps::SemanticHistoryParser
when 'google_records' then GoogleMaps::RecordsParser
when 'google_phone_takeout' then GoogleMaps::PhoneTakeoutParser
when 'owntracks' then OwnTracks::ExportParser
when 'gpx' then Gpx::TrackParser