Skip to content

Commit

Permalink
[pilot] Fix increase limit for build query (#21212)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Apr 28, 2023
1 parent 08e5093 commit b3ae1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/lib/pilot/build_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def distribute(options, build: nil)
end
end
platform = Spaceship::ConnectAPI::Platform.map(fetch_app_platform)
build ||= Spaceship::ConnectAPI::Build.all(app_id: app.id, version: app_version, build_number: build_number, sort: "-uploadedDate", platform: platform, limit: Spaceship::ConnectAPI::Platform.size).first
build ||= Spaceship::ConnectAPI::Build.all(app_id: app.id, version: app_version, build_number: build_number, sort: "-uploadedDate", platform: platform, limit: Spaceship::ConnectAPI::Platform::ALL.size).first
end

# Verify the build has all the includes that we need
Expand Down

0 comments on commit b3ae1b0

Please sign in to comment.