Skip to content

Commit 1d29584

Browse files
committed
Fix to use API Key for authentication
Signed-off-by: Kotaro Inoue <[email protected]>
1 parent 68777f1 commit 1d29584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
address: 'smtp.sendgrid.net',
6868
port: 587,
6969
domain: 'heroku.com',
70-
user_name: ENV['SENDGRID_USERNAME'],
71-
password: ENV['SENDGRID_PASSWORD'],
70+
user_name: 'apikey',
71+
password: ENV['SENDGRID_API_KEY'],
7272
authentication: 'plain',
7373
enable_starttls_auto: true
7474
}

0 commit comments

Comments
 (0)