lib/open_api_sdk/analytics.rb in dub-0.1.3 vs lib/open_api_sdk/analytics.rb in dub-0.2.0

- old
+ new

@@ -25,10 +25,10 @@ # Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters. url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) url = "#{base_url}/analytics" headers = {} - query_params = Utils.get_query_params(::OpenApiSDK::Operations::RetrieveAnalyticsRequest, request, @sdk_configuration.globals) + query_params = Utils.get_query_params(::OpenApiSDK::Operations::RetrieveAnalyticsRequest, request) headers['Accept'] = 'application/json' headers['user-agent'] = @sdk_configuration.user_agent r = @sdk_configuration.client.get(url) do |req| req.headers = headers