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

View file

@ -183,14 +183,13 @@ RSpec.configure do |config|
type: :integer
},
amount: {
type: :integer,
type: :float,
description: 'amount credited (negative for a debit transaction)'
},
financial_transaction_type_id:
{
type: :integer,
description: 'id of the type of the transaction'
},
financial_transaction_type_id: {
type: :integer,
description: 'id of the type of the transaction'
},
note: {
type: :string,
description: 'note entered with 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: