✌️
This commit is contained in:
		
							parent
							
								
									1186b788d6
								
							
						
					
					
						commit
						44e5ae110e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -51,6 +51,7 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs
 | 
				
			||||||
		!isValidName(object.name == '' ? null : object.name) ||
 | 
							!isValidName(object.name == '' ? null : object.name) ||
 | 
				
			||||||
		!isValidDescription(object.summary)
 | 
							!isValidDescription(object.summary)
 | 
				
			||||||
	) {
 | 
						) {
 | 
				
			||||||
 | 
							log(`invalid person: ${JSON.stringify(object, null, 2)}`);
 | 
				
			||||||
		throw new Error('invalid person');
 | 
							throw new Error('invalid person');
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue