lib/ledger_sync/adaptors/test/expense/operations/update.rb in ledger_sync-1.3.1 vs lib/ledger_sync/adaptors/test/expense/operations/update.rb in ledger_sync-1.3.2
- old
+ new
@@ -8,10 +8,10 @@
params do
required(:external_id).maybe(:string)
required(:ledger_id).filled(:string)
required(:account).hash(Types::Reference)
required(:entity).hash(Types::Reference)
- required(:currency).filled(:string)
+ required(:currency).filled(:hash, Types::Reference)
required(:memo).filled(:string)
required(:payment_type).filled(:string)
required(:transaction_date).filled(:date?)
required(:exchange_rate).maybe(:float)
required(:line_items).array(Types::Reference)