spaceship/lib/spaceship/connect_api/models/device.rb in fastlane-2.216.0 vs spaceship/lib/spaceship/connect_api/models/device.rb in fastlane-2.217.0

- old
+ new

@@ -49,12 +49,12 @@ # # API # - def self.all(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) + def self.all(client: nil, filter: {}, includes: nil, fields: nil, limit: nil, sort: nil) client ||= Spaceship::ConnectAPI - resps = client.get_devices(filter: filter, includes: includes).all_pages + resps = client.get_devices(filter: filter, includes: includes, fields: fields, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end # @param client [ConnectAPI] ConnectAPI client. # @param platform [String] The platform of the device.