lib/sportradar/api/nfl.rb in sportradar-api-0.9.3 vs lib/sportradar/api/nfl.rb in sportradar-api-0.9.5

- old
+ new

@@ -29,10 +29,10 @@ end def weekly_depth_charts(week = 1, year = Date.today.year, season = "reg" ) response = get request_url("seasontd/#{ week_path(year, season, week) }/depth_charts") if response.success? - Sportradar::Api::Nfl::LeagueDepthChart.new response + Sportradar::Api::Nfl::LeagueDepthChart.new response['season'] else response end end