diff options
Diffstat (limited to 'models/User.js')
-rw-r--r-- | models/User.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/User.js b/models/User.js index 01a6694..0dc38f3 100644 --- a/models/User.js +++ b/models/User.js @@ -53,7 +53,7 @@ UserSchema * Validations */ -var validatePrecenceOf = function (value) { +var validatePrecenceOf = function(value) { return value && value.length; } |