Skip to content

Commit

Permalink
fix: params.credit_facility_account
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Jan 7, 2025
1 parent d10cd6b commit e95c9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lana/app/src/credit_facility/ledger/templates/disburse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl From<CreditFacilityDisbursalParams> for Params {
let mut params = Self::default();
params.insert("journal_id", journal_id);
params.insert("credit_omnibus_account", credit_omnibus_account);
params.insert("facility_account", credit_facility_account);
params.insert("credit_facility_account", credit_facility_account);
params.insert(
"facility_disbursed_receivable_account",
facility_disbursed_receivable_account,
Expand Down Expand Up @@ -121,7 +121,7 @@ impl CreditFacilityDisbursal {
.build()
.expect("Couldn't build entry"),
NewTxTemplateEntry::builder()
.account_id("params.facility_account")
.account_id("params.credit_facility_account")
.units("params.disbursed_amount")
.currency("'USD'")
.entry_type("'CREDIT_FACILITY_DISBURSAL_DRAWDOWN_CR'")
Expand Down

0 comments on commit e95c9b4

Please sign in to comment.