spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.68.1 vs spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.68.2
- old
+ new
@@ -107,11 +107,15 @@
end
end
def send_login_request(user, password)
clear_user_cached_data
- send_shared_login_request(user, password)
+ result = send_shared_login_request(user, password)
+
+ store_cookie
+
+ return result
end
# Sometimes we get errors or info nested in our data
# This method allows you to pass in a set of keys to check for
# along with the name of the sub_section of your original data
@@ -751,10 +755,10 @@
# Fetches the User Detail information from ITC. This gets called often and almost never changes
# so we cache it
# @return [UserDetail] the response
def user_detail_data
- @_cached_user_detail_data ||= Spaceship::Tunes::UserDetail.factory(user_details_data)
+ @_cached_user_detail_data ||= Spaceship::Tunes::UserDetail.factory(user_details_data, self)
end
#####################################################
# @!group CandiateBuilds
#####################################################