Commit 0dc814337bbf9c30f5660baf177949ae381df487

Authored by Ryan Jones
1 parent 5d9e0d99
Exists in master and in 1 other branch production

pass in the problem, not the notice

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/notice_observer.rb
... ... @@ -6,7 +6,7 @@ class NoticeObserver < Mongoid::Observer
6 6  
7 7 # if the app has the campfire tracker, post into the chat
8 8 if !notice.app.issue_tracker.nil? && notice.app.issue_tracker.is_a?(CampfireTracker)
9   - notice.app.issue_tracker.create_issue(notice)
  9 + notice.app.issue_tracker.create_issue(notice.problem)
10 10 end
11 11  
12 12 Mailer.err_notification(notice).deliver
... ...