actually, i think this is all it needs close #421

jschan
Thomas Lynch 2 years ago
parent 0683e31963
commit 4f5e996cc6
Signed by: fatchan
GPG Key ID: 112884AA57DF40B1
  1. 2
      helpers/schema.js

@ -54,7 +54,7 @@ module.exports = {
//the opposite kinda, check if the data includes any of the values in the array
arrayInBody: (filters, data) => {
return filters.some(filter => data.includes(filter));
return data && filters.some(filter => data.includes(filter));
},
//check the actual schema

Loading…
Cancel
Save