Skip to content

Commit

Permalink
Fix for production.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Sep 21, 2023
1 parent e6cec85 commit 4bec678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
config.action_mailer.default_url_options = {host: "partnermetrics.io"}
app.config.action_mailer.delivery_method = :sendgrid_actionmailer
app.config.action_mailer.sendgrid_actionmailer_settings = {
config.action_mailer.delivery_method = :sendgrid_actionmailer
config.action_mailer.sendgrid_actionmailer_settings = {
api_key: Rails.application.credentials[:sendgrid][:api_key],
raise_delivery_errors: true
}
Expand Down

0 comments on commit 4bec678

Please sign in to comment.