Skip to content

Business intelligence made simple

Check present

Andrew Kane1a12e0b1869d
diff --git a/lib/blazer/slack_notifier.rb b/lib/blazer/slack_notifier.rb
index 2c63fa8d..6b87d179 100644
--- a/lib/blazer/slack_notifier.rb
+++ b/lib/blazer/slack_notifier.rb
@@ -68,7 +68,7 @@ module Blazer
end
def self.post(payload)
- if Blazer.slack_webhook_url
+ if Blazer.slack_webhook_url.present?
post_api(Blazer.slack_webhook_url, payload, {})
else
headers = {