spaceship/lib/spaceship/connect_api/client.rb in fastlane-2.217.0 vs spaceship/lib/spaceship/connect_api/client.rb in fastlane-2.218.0

- old
+ new

@@ -82,17 +82,17 @@ @portal_client = portal_client # Extending this instance to add API endpoints from these modules # Each of these modules adds a new setter method for an instance # of an ConnectAPI::APIClient - # These get set in set_indvidual_clients + # These get set in set_individual_clients self.extend(Spaceship::ConnectAPI::TestFlight::API) self.extend(Spaceship::ConnectAPI::Tunes::API) self.extend(Spaceship::ConnectAPI::Provisioning::API) self.extend(Spaceship::ConnectAPI::Users::API) - set_indvidual_clients( + set_individual_clients( cookie: cookie, current_team_id: current_team_id, token: token, tunes_client: @tunes_client, portal_client: @portal_client @@ -153,21 +153,21 @@ @portal_client.select_team(team_id: portal_team_id, team_name: team_name) unless @portal_client.nil? @tunes_client.select_team(team_id: tunes_team_id, team_name: team_name) unless @tunes_client.nil? # Updating the tunes and portal clients requires resetting # of the clients in the API modules - set_indvidual_clients( + set_individual_clients( cookie: nil, current_team_id: nil, token: nil, tunes_client: tunes_client, portal_client: portal_client ) end private - def set_indvidual_clients(cookie: nil, current_team_id: nil, token: nil, tunes_client: nil, portal_client: nil) + def set_individual_clients(cookie: nil, current_team_id: nil, token: nil, tunes_client: nil, portal_client: nil) # This was added by Spaceship::ConnectAPI::TestFlight::API and is required # to be set for API methods to have a client to send request on if cookie || token || tunes_client self.test_flight_request_client = Spaceship::ConnectAPI::TestFlight::Client.new( cookie: cookie,