Fix typo allowPartialPeriodInterestCalcualtion for allowPartialPeriodInterestCalculation (#2993)
This commit is contained in:
@@ -759,7 +759,7 @@ export class LoansService {
|
||||
|
||||
// In Fineract, the POST and PUT endpoints for /v1/loans have a typo in the field
|
||||
// allowPartialPeriodInterestCalculation. Until that is fixed, we need to replace the field name in the payload.
|
||||
loansAccountData.allowPartialPeriodInterestCalcualtion = loansAccountData.allowPartialPeriodInterestCalculation;
|
||||
loansAccountData.allowPartialPeriodInterestCalculation = loansAccountData.allowPartialPeriodInterestCalculation;
|
||||
delete loansAccountData.allowPartialPeriodInterestCalculation;
|
||||
return loansAccountData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user