mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor
* fix: isOrphan check
* lint: fix md5
* test: fix upload test
* user
* fix: upgrade script
* refactor: long line
* lint: lint
* test: fix tests
* Squashed commit of the following:
commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400
    fix: req.body can be undefined
* refactor: show data on test fail
* test: logs
* test: change test
* make sure timestamps are different
			
			
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							cd70e6c610
						
					
				
				
					commit
					3ad6ee075b
				
			| @@ -143,7 +143,7 @@ Topics.addThumb = async (req, res) => { | ||||
| 		await Promise.all(files.map(async (fileObj) => { | ||||
| 			await topics.thumbs.associate({ | ||||
| 				id: req.params.tid, | ||||
| 				path: fileObj.path || fileObj.url, | ||||
| 				path: fileObj.url, | ||||
| 			}); | ||||
| 		})); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user