Commit d7dbe7f5fae02ac52029a9907f26ec75044cc9fc
1 parent
94c9b411
Exists in
master
and in
1 other branch
copy&paste, bad boy
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/models/notification_services/hubot_service.rb
@@ -26,11 +26,7 @@ class NotificationServices::HubotService < NotificationService | @@ -26,11 +26,7 @@ class NotificationServices::HubotService < NotificationService | ||
26 | end | 26 | end |
27 | 27 | ||
28 | def create_notification(problem) | 28 | def create_notification(problem) |
29 | - | ||
30 | Faraday.post(url, :message => message_for_hubot(problem), :room => room_id) | 29 | Faraday.post(url, :message => message_for_hubot(problem), :room => room_id) |
31 | - # send push notification to pushover | ||
32 | - #notification.notify(api_token, "#{notification_description problem}", :priority => 1, :title => "Errbit Notification", :url => "http://#{Errbit::Config.host}/apps/#{problem.app.id.to_s}", :url_title => "Link to error") | ||
33 | - | ||
34 | end | 30 | end |
35 | end | 31 | end |
36 | 32 |