gemcap-be-common 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -195,6 +195,7 @@ class LoanChargesService {
|
|
|
195
195
|
}
|
|
196
196
|
validateLoanCharge(loanCharge) {
|
|
197
197
|
const validationResult = LoanCharges_model_1.chargeViewValidationSchema.validate(loanCharge);
|
|
198
|
+
console.debug({ validationResult });
|
|
198
199
|
return !!validationResult.error;
|
|
199
200
|
}
|
|
200
201
|
async saveLoanCharges(borrowerId, loanCharges, quickCreate = false) {
|
|
@@ -227,6 +227,7 @@ export class LoanChargesService {
|
|
|
227
227
|
|
|
228
228
|
validateLoanCharge(loanCharge: ILoanChargeView) {
|
|
229
229
|
const validationResult = chargeViewValidationSchema.validate(loanCharge);
|
|
230
|
+
console.debug({ validationResult })
|
|
230
231
|
return !!validationResult.error;
|
|
231
232
|
}
|
|
232
233
|
|