mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-26 19:14:12 +00:00 
			
		
		
		
	refactor
This commit is contained in:
		
							parent
							
								
									05cba6d357
								
							
						
					
					
						commit
						46f99755db
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -79,7 +79,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { | |||
| 		private globalEventService: GlobalEventService, | ||||
| 	) { | ||||
| 		super(meta, paramDef, async (ps, me) => { | ||||
| 			if ((ps.keywords.length === 0) || (ps.keywords[0].filter(x => x !== '').length === 0)) { | ||||
| 			if ((ps.keywords.length === 0) || ps.keywords[0].every(x => x === '')) { | ||||
| 				throw new Error('invalid param'); | ||||
| 			} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue