1
0
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:
Felix Krause
2021-11-12 12:33:48 +01:00
parent dab8dc5d11
commit 2dd46eaaf5

View File

@@ -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"]