diff --git a/app/mailers/devise_notify_mailer.rb b/app/mailers/devise_notify_mailer.rb index 61d8f4b2d..3d44cbec2 100644 --- a/app/mailers/devise_notify_mailer.rb +++ b/app/mailers/devise_notify_mailer.rb @@ -5,10 +5,6 @@ class DeviseNotifyMailer < Devise::Mailer @notify_client ||= ::Notifications::Client.new(ENV["GOVUK_NOTIFY_API_KEY"]) end - def host - @host ||= ENV["APP_HOST"] - end - def send_email(email, template_id, personalisation) notify_client.send_email( email_address: email,