Fixes broken seeds issue (#788)

This commit is contained in:
Nithin David Thomas
2020-05-01 01:22:13 +05:30
committed by GitHub
parent 0690d3191d
commit 1ebe9fdba9

View File

@@ -1,7 +1,7 @@
account = Account.create!(
name: 'Acme Inc',
domain: 'support.chatwoot.com',
from_email: ENV.fetch('MAILER_SENDER_EMAIL', 'accounts@chatwoot.com')
support_email: ENV.fetch('MAILER_SENDER_EMAIL', 'accounts@chatwoot.com')
)
user = User.new(name: 'John', email: 'john@acme.inc', password: '123456')