change ajv draft 4 to ajv 6 and validate using schema for 04

change ajv draft 4 to ajv 6 and validate using schema for 04
This commit is contained in:
Luis Tejeda
2022-02-04 12:45:52 -06:00
parent e2d324aa4a
commit 760bcfdebe
7 changed files with 60 additions and 17 deletions

View File

@@ -3190,7 +3190,7 @@ module.exports = {
mismatchObj = _.assign({
property: property,
transactionJsonPath: jsonPathPrefix + ajvError.instancePath,
transactionJsonPath: jsonPathPrefix + formatDataPath(ajvError.instancePath),
schemaJsonPath: schemaPathPrefix + '.' + localSchemaPath
}, ajvValidationError(ajvError, { property, humanPropName }));