lib/sportradar/api/football/nfl/api.rb in sportradar-api-0.11.6 vs lib/sportradar/api/football/nfl/api.rb in sportradar-api-0.11.7

- old
+ new

@@ -37,10 +37,10 @@ def request_url(path) "/nfl-#{access_level}#{version}/#{path}" end def api_key - if !['ot', 'sim'].include?(access_level) + if !['ot', 'sim'].include?(access_level) || (default_access_level == 'p' && access_level == 'sim') ::Sportradar::Api.api_key_params('nfl', 'production') else ::Sportradar::Api.api_key_params('nfl') end end