lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.10.11 vs lib/sportradar/api/basketball/nba/team.rb in sportradar-api-0.10.12
- old
+ new
@@ -10,12 +10,12 @@
existing = @all_hash[data['id']]
if existing
existing.update(data, **opts)
existing
else
- unless data['id']
- data.merge!(data.delete('team')) if data['team']
- end
+ # unless data['id']
+ # data.merge!(data.delete('team')) if data['team']
+ # end
@all_hash[data['id']] = super
end
end
def self.all
@all_hash.values
\ No newline at end of file