This commit is contained in:
fauno 2019-08-14 21:21:57 -03:00
parent 20d5c811a1
commit 1990828f59
No known key found for this signature in database
GPG key ID: 456032D717A4CD9C

View file

@ -26,7 +26,7 @@ class WebpushSubscription < ApplicationRecord
private
def normalize_urgency(urgency)
if URGENCY.includes? urgency.to_s
if URGENCY.include? urgency.to_s
urgency.to_s
else
'normal'