mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Remove unused parser from imports create service
This commit is contained in:
parent
31f0ee5eab
commit
9cc9632b6d
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue