spaceship/lib/spaceship/connect_api/users/client.rb in fastlane-2.189.0 vs spaceship/lib/spaceship/connect_api/users/client.rb in fastlane-2.190.0
- old
+ new
@@ -9,9 +9,12 @@
def initialize(cookie: nil, current_team_id: nil, token: nil, another_client: nil)
another_client ||= Spaceship::Tunes.client if cookie.nil? && token.nil?
super(cookie: cookie, current_team_id: current_team_id, token: token, another_client: another_client)
+ # Used by most iris requests starting in July 2021
+ @additional_headers = { 'x-csrf-itc': '[asc-ui]' } if another_client
+
self.extend(Spaceship::ConnectAPI::Users::API)
self.users_request_client = self
end
def self.hostname