spaceship/lib/spaceship/test_flight/build.rb in fastlane-2.119.0.beta.20190324200014 vs spaceship/lib/spaceship/test_flight/build.rb in fastlane-2.119.0

- old
+ new

@@ -229,10 +229,10 @@ client.add_group_to_build(app_id: app_id, group_id: group.id, build_id: id) end # Bridges the TestFlight::Build to the App Store Connect API build def find_app_store_connect_build - resp = Spaceship::ConnectAPI::Base.client.get_builds(filter: { expired: false, processingState: "PROCESSING,VALID", version: self.build_version }) + resp = Spaceship::ConnectAPI::Base.client.get_builds(filter: { expired: false, processingState: "PROCESSING,VALID", version: self.build_version, app: app_id }) resp.first end end end end