Files
fizzy/app/jobs/push_notification_job.rb
Rosa Gutierrez dbfb141b6f Restore PushNotificationJob as shim for in-flight jobs during deploy
In-flight jobs queued before deploy would fail if the old class is
missing. This shim delegates to the new notification.push method.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-25 19:31:13 +01:00

8 lines
149 B
Ruby

class PushNotificationJob < ApplicationJob
discard_on ActiveJob::DeserializationError
def perform(notification)
notification.push
end
end