Skip to content

Commit

Permalink
fix: error regression when creating invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
diegosteiner committed Dec 2, 2024
1 parent 3271b1b commit 390d59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/payment_infos/text_payment_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TextPaymentInfo < ::PaymentInfo
delegate :esr_beneficiary_account, to: :organisation

def body
@body ||= rich_text_template&.interpolate(payment_info: self)&.body
@body ||= rich_text_template&.interpolate({ payment_info: self })&.body
end

def title
Expand Down

0 comments on commit 390d59e

Please sign in to comment.