Skip to content

Commit

Permalink
Fixed: Issues with Scheduler and Email sending
Browse files Browse the repository at this point in the history
  • Loading branch information
Gurenax committed Aug 13, 2017
1 parent 21e95e8 commit 9802c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def schedule_popup(message, notification_time)
end

# Schedule an email message
def schedule_email(email, message, notification_time)
def schedule_email(email_address, message, notification_time)
email = Email.new
@schedule.at notification_time.to_s do
email.send_email(email, message)
email.send_email(email_address, message)
@schedule.shutdown
end
end
Expand Down

0 comments on commit 9802c1b

Please sign in to comment.