ignorar las notificaciones fallidas
This commit is contained in:
parent
1990828f59
commit
b0ccf4f688
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ class WebpushSubscription < ApplicationRecord
|
|||
ttl: ttl.to_i, urgency: normalize_urgency(urgency),
|
||||
message: payload.to_json
|
||||
)
|
||||
rescue Webpush::Unauthorized
|
||||
Rails.logger.info "#{id} no autorizada"
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue