spaceship/lib/spaceship/du/du_client.rb in fastlane-2.61.0 vs spaceship/lib/spaceship/du/du_client.rb in fastlane-2.62.0.beta.20171010010004

- old
+ new

@@ -36,11 +36,11 @@ def upload_trailer(app_version, upload_file, content_provider_id, sso_token_for_video) upload_file(app_version: app_version, upload_file: upload_file, path: '/upload/purple-video', content_provider_id: content_provider_id, sso_token: sso_token_for_video) end - def upload_trailer_preview(app_version, upload_file, content_provider_id, sso_token_for_image) - upload_file(app_version: app_version, upload_file: upload_file, path: '/upload/app-screenshot-image', content_provider_id: content_provider_id, sso_token: sso_token_for_image) + def upload_trailer_preview(app_version, upload_file, content_provider_id, sso_token_for_image, device) + upload_file(app_version: app_version, upload_file: upload_file, path: '/upload/image', content_provider_id: content_provider_id, sso_token: sso_token_for_image, du_validation_rule_set: screenshot_picture_type(device, nil)) end private def upload_file(app_version: nil, upload_file: nil, path: nil, content_provider_id: nil, sso_token: nil, du_validation_rule_set: nil, app_id: nil)