mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	add-file-to-drive - gmに渡す引数を正しくする
This commit is contained in:
		
							parent
							
								
									e56f716a89
								
							
						
					
					
						commit
						f6c63fbe14
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -152,7 +152,7 @@ export default (
 | 
			
		|||
						return null;
 | 
			
		||||
					}
 | 
			
		||||
					// If the file is an image, calculate width and height to save in property
 | 
			
		||||
					const g = gm(data, name);
 | 
			
		||||
					const g = gm(fs.createReadStream(path), name);
 | 
			
		||||
					const size = await prominence(g).size();
 | 
			
		||||
					const properties = {
 | 
			
		||||
						width: size.width,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue