match/lib/match/spaceship_ensure.rb in fastlane_hotfix-2.165.1 vs match/lib/match/spaceship_ensure.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -11,9 +11,12 @@
if api_token
UI.message("Creating authorization token for App Store Connect API")
Spaceship::ConnectAPI.token = api_token
self.team_id = team_id
+ elsif !Spaceship::ConnectAPI.token.nil?
+ UI.message("Using existing authorization token for App Store Connect API")
+ self.team_id = team_id
else
# We'll try to manually fetch the password
# to tell the user that a password is optional
require 'credentials_manager/account_manager'