# frozen_string_literal: true class IqdbUpdateJob < ApplicationJob queue_as :iqdb def perform(id) image = APIImage.find(id) return if image.blank? Iqdb.update_image(image) end end