spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.98.0 vs spaceship/lib/spaceship/test_flight/client.rb in fastlane-2.99.0
- old
+ new
@@ -162,10 +162,21 @@
end
testers
end
+ #####################################################
+ # @!Internal Testers
+ #####################################################
+ def internal_users(app_id: nil)
+ assert_required_params(__method__, binding)
+ url = "providers/#{team_id}/apps/#{app_id}/internalUsers"
+ r = request(:get, url)
+
+ parse_response(r, 'data')
+ end
+
##
# @!group Testers API
##
def testers_for_app(app_id: nil)
@@ -315,10 +326,10 @@
raise UnexpectedResponse, response.body
end
raise UnexpectedResponse, response.body['error'] if response.body['error']
- raise UnexpectedResponse, "Temporary iTunes Connect error: #{response.body}" if response.body['statusCode'] == 'ERROR'
+ raise UnexpectedResponse, "Temporary App Store Connect error: #{response.body}" if response.body['statusCode'] == 'ERROR'
return response.body['data'] if response.body['data']
return response.body
end