e9131ea558
Add webpush notification permission in frontend Co-authored-by: Sojan <sojan@pepalo.com>
7 lines
198 B
Ruby
7 lines
198 B
Ruby
class Notification::PushNotificationJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(notification)
|
|
Notification::PushNotificationService.new(notification: notification).perform
|
|
end
|
|
end
|