mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 05:05:45 +02:00
Remove additional logger messages
This commit is contained in:
parent
03b3f9a276
commit
bb82f47e23
1 changed files with 0 additions and 2 deletions
|
@ -4,8 +4,6 @@ class InvoiceMailer < ApplicationMailer
|
||||||
def invoice_email(invoice_id, html, billing_email)
|
def invoice_email(invoice_id, html, billing_email)
|
||||||
@invoice = Invoice.find_by(id: invoice_id)
|
@invoice = Invoice.find_by(id: invoice_id)
|
||||||
billing_email ||= @invoice.billing_email
|
billing_email ||= @invoice.billing_email
|
||||||
logger.info "Billing email from form: #{billing_email}"
|
|
||||||
logger.info "Billing email from invoice database: #{@invoice.billing_email || nil}"
|
|
||||||
return unless @invoice
|
return unless @invoice
|
||||||
return if whitelist_blocked?(billing_email)
|
return if whitelist_blocked?(billing_email)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue