Missing ;
This commit is contained in:
parent
4b01cbc68a
commit
37bba84cb4
|
@ -14,7 +14,7 @@ function validateNonEmpty(data, cb) {
|
||||||
|
|
||||||
function validateMessageSubject(data, cb) {
|
function validateMessageSubject(data, cb) {
|
||||||
cb(data && data.length > 1 ? null : new Error('Subject too short'));
|
cb(data && data.length > 1 ? null : new Error('Subject too short'));
|
||||||
};
|
}
|
||||||
|
|
||||||
function validateUserNameAvail(data, cb) {
|
function validateUserNameAvail(data, cb) {
|
||||||
if(data.length < Config.users.usernameMin) {
|
if(data.length < Config.users.usernameMin) {
|
||||||
|
|
Loading…
Reference in New Issue