master
Mark Moffat 2020-02-21 12:51:56 +10:30
parent 48ce34fb9c
commit d7113168ca
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ const addSchemas = () => {
const validateJson = (schema, json) => { const validateJson = (schema, json) => {
const result = ajv.validate(schema, json); const result = ajv.validate(schema, json);
return{ return {
result, result,
errors: ajv.errors errors: ajv.errors
}; };