mirror of
https://github.com/elisspace/FxLifeSheet.git
synced 2026-08-29 15:44:00 +00:00
Update gym category name during import
This commit is contained in:
@@ -19,6 +19,7 @@ module Importers
|
||||
]
|
||||
|
||||
category = Hash(venue["categories"].find { |a| a["primary"] == true })["name"]
|
||||
category = "Gym" if category.include?("Gym") # since we also have "Gym / Fitness Center"
|
||||
location = venue["location"]
|
||||
timezone_offset = d["response"]["checkin"]["timeZoneOffset"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user