fix: financial transaction amount float not int

This commit is contained in:
Philipp Rothmann 2022-12-12 16:02:43 +01:00
parent 482752faca
commit 64e59085b2
1 changed files with 6 additions and 7 deletions

View File

@ -183,11 +183,10 @@ RSpec.configure do |config|
type: :integer
},
amount: {
type: :integer,
type: :float,
description: 'amount credited (negative for a debit transaction)'
},
financial_transaction_type_id:
{
financial_transaction_type_id: {
type: :integer,
description: 'id of the type of the transaction'
},
@ -223,7 +222,7 @@ RSpec.configure do |config|
type: :object,
properties: {
amount: {
type: :integer,
type: :float,
description: 'amount credited (negative for a debit transaction)'
},
financial_transaction_type_id: