spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.217.0 vs spaceship/lib/spaceship/tunes/tunes_client.rb in fastlane-2.218.0
- old
+ new
@@ -657,11 +657,11 @@
def update_price_tier!(app_id, price_tier)
r = request(:get, "ra/apps/#{app_id}/pricing/intervals")
data = parse_response(r, 'data')
- # preOrder isn't needed for for the request and has some
+ # preOrder isn't needed for the request and has some
# values that can cause a failure (invalid dates) so we are removing it
data.delete('preOrder')
first_price = (data["pricingIntervalsFieldTO"]["value"] || []).count == 0 # first price
data["pricingIntervalsFieldTO"]["value"] ||= []
@@ -1009,10 +1009,10 @@
data = parse_response(r, 'data')
Spaceship::Tunes::AppVersionRef.factory(data)
end
#####################################################
- # @!group CandiateBuilds
+ # @!group CandidateBuilds
#####################################################
def candidate_builds(app_id, version_id)
r = request(:get, "ra/apps/#{app_id}/versions/#{version_id}/candidateBuilds")
parse_response(r, 'data')['builds']