fix
This commit is contained in:
		
							parent
							
								
									fd0ce15b1b
								
							
						
					
					
						commit
						17c8969fd2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -165,7 +165,7 @@ module.exports = (params, user, app) =>
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	// テキストが無いかつ添付ファイルが無いかつRepostも無いかつ投票も無かったらエラー
 | 
			
		||||
	if (text === null && files === null && repost === null && pollChoices === null) {
 | 
			
		||||
	if (text === null && files === null && repost === null && poll === null) {
 | 
			
		||||
		return rej('text, media_ids, repost_id or poll is required');
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue