Linting
parent
48ce34fb9c
commit
d7113168ca
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue