We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0ea3f commit 7172c89Copy full SHA for 7172c89
lib/validators/type.js
@@ -7,7 +7,6 @@
7
*/
8
9
function isValid(data, model) {
10
- //if (!model.type || typeof model.data === 'undefined') {
11
if (!model.type || typeof data === 'undefined') {
12
return true;
13
}
0 commit comments