actually, that should be it... close #421

jschan
Thomas Lynch 2 years ago
parent b05cd1a8a2
commit 38eb1a9676
No known key found for this signature in database
GPG Key ID: 36A72F7C62CF8480
  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