We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11aca41 commit 8760d55Copy full SHA for 8760d55
lib/pusher/native_notification/client.rb
@@ -102,7 +102,7 @@ def validate_payload(payload)
102
if (webhook_level = payload[:webhook_level])
103
raise Pusher::Error, "Webhook level cannot be used without a webhook url" if !payload.has_key?(:webhook_url)
104
105
- unless WEBHOOK_LEVELS.includes?(webhook_level.upcase)
+ unless WEBHOOK_LEVELS.include?(webhook_level.upcase)
106
raise Pusher::Error, "Webhook level must either be INFO or DEBUG"
107
end
108
0 commit comments