update recording notification email

This commit is contained in:
Zachary Chai
2017-02-22 12:13:33 -05:00
parent 80374e02a5
commit ebc52d2271
6 changed files with 55 additions and 8 deletions

View File

@ -17,9 +17,9 @@
class RecordingReadyEmailJob < ApplicationJob
queue_as :default
def perform(user)
def perform(user, rec)
if user.email.present?
NotificationMailer.recording_ready_email(user).deliver
NotificationMailer.recording_ready_email(user, rec).deliver
end
end
end