diff --git a/app/models/apple/publisher.rb b/app/models/apple/publisher.rb index 188a1434b..e23d2a2c4 100644 --- a/app/models/apple/publisher.rb +++ b/app/models/apple/publisher.rb @@ -46,7 +46,8 @@ def only_episodes_with_apple_state(eps) # Only select episodes that have an remote apple state, # as determined by the sync log eps.reject do |ep| - Rails.logger.info("Episode lacks remote Apple state", {episode_id: ep.feeder_id}) if + Rails.logger.info("Episode lacks remote Apple state", {episode_id: ep.feeder_id}) if ep.apple_new? + ep.apple_new? end end