mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	fix: #9055, non-standard API response from addThumbs route
Also removed old thumb upload router handler, and updated uploadPost handling in composer to match new response schema
This commit is contained in:
		| @@ -100,7 +100,7 @@ Topics.addThumb = async (req, res, next) => { | ||||
| 		return; | ||||
| 	} | ||||
|  | ||||
| 	const files = await uploadsController.uploadThumb(req, res, next);	// response is handled here, fix this? | ||||
| 	const files = await uploadsController.uploadThumb(req, res, next);	// response is handled here | ||||
|  | ||||
| 	// Add uploaded files to topic zset | ||||
| 	if (files && files.length) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user