This commit is contained in:
syuilo 2018-05-16 17:04:39 +09:00
parent f59209aaa3
commit 34186cf45f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ export function validatePassword(password: string): boolean {
} }
export function isValidName(name?: string): boolean { export function isValidName(name?: string): boolean {
return name === null || (typeof name == 'string' && name.length < 30 && name.trim() != ''); return name === null || (typeof name == 'string' && name.length < 50 && name.trim() != '');
} }
export function isValidDescription(description: string): boolean { export function isValidDescription(description: string): boolean {