Linting
parent
48ce34fb9c
commit
d7113168ca
|
@ -38,7 +38,7 @@ const addSchemas = () => {
|
|||
|
||||
const validateJson = (schema, json) => {
|
||||
const result = ajv.validate(schema, json);
|
||||
return{
|
||||
return {
|
||||
result,
|
||||
errors: ajv.errors
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue