match/lib/match/storage/s3_storage.rb in fastlane_hotfix-2.165.1 vs match/lib/match/storage/s3_storage.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -194,11 +194,11 @@ return spaceship.team_id end end def api_token - api_token ||= Spaceship::ConnectAPI::Token.create(self.api_key) if self.api_key - api_token ||= Spaceship::ConnectAPI::Token.from_json_file(self.api_key_path) if self.api_key_path + api_token = Spaceship::ConnectAPI::Token.from(hash: self.api_key, filepath: self.api_key_path) + api_token ||= Spaceship::ConnectAPI.token return api_token end end end end