~arestifo/www

c68de43d00105b480f8bcf0351848428fb37ad90 — Alberto Restifo 15 days ago a7b4ec3
Disable emails
1 files changed, 3 insertions(+), 2 deletions(-)

M config/email.cr
M config/email.cr => config/email.cr +3 -2
@@ 5,8 5,9 @@ BaseEmail.configure do |settings|
    #   settings.adapter = Carbon::DevAdapter.new
    #
    # If you do need emails, get a key from SendGrid and set an ENV variable
    send_grid_key = send_grid_key_from_env
    settings.adapter = Carbon::SendGridAdapter.new(api_key: send_grid_key)
    settings.adapter = Carbon::DevAdapter.new
    # send_grid_key = send_grid_key_from_env
    # settings.adapter = Carbon::SendGridAdapter.new(api_key: send_grid_key)
  else
    settings.adapter = Carbon::DevAdapter.new
  end