diff --git a/app/models/payment_infos/text_payment_info.rb b/app/models/payment_infos/text_payment_info.rb index 228e33cd3..ce79a5edd 100644 --- a/app/models/payment_infos/text_payment_info.rb +++ b/app/models/payment_infos/text_payment_info.rb @@ -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