lib/sportradar/api/basketball/ncaamb/team.rb in sportradar-api-0.10.2 vs lib/sportradar/api/basketball/ncaamb/team.rb in sportradar-api-0.10.3

- old
+ new

@@ -8,10 +8,14 @@ existing = @all_hash[data['id']] if existing existing.update(data, **opts) existing else - @all_hash[data['id']] = super + if data['id'] + @all_hash[data['id']] = super + else # tournament placeholder + super + end end end def self.all @all_hash.values end \ No newline at end of file