From 6bdb9c2cac5890e7b3dabcf4e17d9a0912f02165 Mon Sep 17 00:00:00 2001 From: galcohen92 Date: Mon, 1 Apr 2019 14:57:26 +0300 Subject: [PATCH] allign with old branch --- src/inputValidationError.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/inputValidationError.js b/src/inputValidationError.js index f04696d..5c44c0d 100644 --- a/src/inputValidationError.js +++ b/src/inputValidationError.js @@ -73,6 +73,8 @@ const buildDataPath = function(error) { if (error.dataPath === '') { return 'body'; } + + return undefined; }; module.exports = InputValidationError;