spaceship/lib/spaceship/connect_api/testflight/testflight.rb in fastlane-2.185.1 vs spaceship/lib/spaceship/connect_api/testflight/testflight.rb in fastlane-2.186.0

- old
+ new

@@ -325,9 +325,22 @@ } test_flight_request_client.delete("apps/#{app_id}/relationships/betaTesters", nil, body) end + def add_beta_tester_to_builds(beta_tester_id: nil, build_ids: []) + body = { + data: build_ids.map do |id| + { + type: "builds", + id: id + } + end + } + + test_flight_request_client.post("betaTesters/#{beta_tester_id}/relationships/builds", body) + end + # # betaTesterMetrics # def get_beta_tester_metrics(filter: {}, includes: nil, limit: nil, sort: nil)