Skip to content

Commit 490ec79

Browse files
committed
chore: linter ✨
1 parent 0e3f5c8 commit 490ec79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/payment.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def request_payment
5757
redirect_url = Rails.application.routes.url_helpers.payment_redirect_url(token: token)
5858

5959
payment = Mollie::Payment.create(
60-
amount: { value: "#{'%.2f' % amount}", currency: 'EUR' },
60+
amount: { value: sprintf('%.2f', amount), currency: 'EUR' },
6161
method: 'ideal', # only ideal for now
6262
issuer: issuer,
6363
description: description,

0 commit comments

Comments
 (0)