diff --git a/app/jobs/webpush_job.rb b/app/jobs/webpush_job.rb index a5763de..c79683e 100644 --- a/app/jobs/webpush_job.rb +++ b/app/jobs/webpush_job.rb @@ -21,7 +21,7 @@ class WebpushJob < ApplicationJob urgency: urgency, ttl: ttl) rescue Webpush::ExpiredSubscription - next + subscription.destroy end end end