Commit be2540c8 authored by fauno's avatar fauno

Eliminar suscripciones webpush vencidas

parent f6bd9a4d
Pipeline #41725 failed with stage
in 14 seconds
......@@ -21,7 +21,7 @@ class WebpushJob < ApplicationJob
urgency: urgency,
ttl: ttl)
rescue Webpush::ExpiredSubscription
next
subscription.destroy
end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment