mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Fix tenant welcome email delivery (#354)
This commit is contained in:
committed by
GitHub
parent
1f99b6867e
commit
1396b736e3
@@ -56,7 +56,7 @@ class TenantsController < ApplicationController
|
||||
|
||||
if is_o_auth_login
|
||||
CreateStripeCustomer.new().run
|
||||
TenantMailer.trial_start(tenant: @tenant).deliver_later
|
||||
TenantMailer.trial_start(tenant: @tenant).deliver_now # deliver_later doesn't work here
|
||||
end
|
||||
|
||||
logger.info { "New tenant registration: #{Current.tenant.inspect}" }
|
||||
|
||||
Reference in New Issue
Block a user