Fix typo allowPartialPeriodInterestCalcualtion for allowPartialPeriodInterestCalculation (#2993)
This commit is contained in:
@@ -83,7 +83,7 @@ export class LoanProducts {
|
||||
|
||||
// In Fineract, the POST and PUT endpoints for /v1/loanproducts have a typo in the field
|
||||
// allowPartialPeriodInterestCalculation. Until that is fixed, we need to replace the field name in the payload.
|
||||
loanProduct.allowPartialPeriodInterestCalcualtion = loanProduct.allowPartialPeriodInterestCalculation;
|
||||
loanProduct.allowPartialPeriodInterestCalculation = loanProduct.allowPartialPeriodInterestCalculation;
|
||||
delete loanProduct.allowPartialPeriodInterestCalculation;
|
||||
|
||||
// Set Default values If they were not set
|
||||
|
||||
Reference in New Issue
Block a user